diff options
author | James Peach <jpeach@samba.org> | 2007-05-23 19:57:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:45 -0500 |
commit | 9417832155d634864f37d0fdb173ec607c154069 (patch) | |
tree | 1b85f87047cf000bab867eb40bb373cd2dac2cee /source/m4 | |
parent | 190a69b1f9d7a0f858ed56c505c2d3c473273463 (diff) | |
download | samba-9417832155d634864f37d0fdb173ec607c154069.tar.gz samba-9417832155d634864f37d0fdb173ec607c154069.tar.xz samba-9417832155d634864f37d0fdb173ec607c154069.zip |
r23094: Update the iconv detection to handle cross-compiles better. If we are
cross-compiling, we accept the first iconv library that we find (with a
warning).
Diffstat (limited to 'source/m4')
-rw-r--r-- | source/m4/aclocal.m4 | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/m4/aclocal.m4 b/source/m4/aclocal.m4 index d36749a5f50..fd9efb60e6b 100644 --- a/source/m4/aclocal.m4 +++ b/source/m4/aclocal.m4 @@ -420,22 +420,6 @@ main(){ AC_MSG_RESULT($ICONV_CHARSET) ]) -dnl CFLAGS_ADD_DIR(CFLAGS, $INCDIR) -dnl This function doesn't add -I/usr/include into CFLAGS -AC_DEFUN(CFLAGS_ADD_DIR,[ -if test "$2" != "/usr/include" ; then - $1="$$1 -I$2" -fi -]) - -dnl LIB_ADD_DIR(LDFLAGS, $LIBDIR) -dnl This function doesn't add -L/usr/lib into LDFLAGS -AC_DEFUN(LIB_ADD_DIR,[ -if test "$2" != "/usr/lib" ; then - $1="$$1 -L$2" -fi -]) - dnl AC_ENABLE_SHARED - implement the --enable-shared flag dnl Usage: AC_ENABLE_SHARED[(DEFAULT)] dnl Where DEFAULT is either `yes' or `no'. If omitted, it defaults to |