diff -rc samba-3.0.23c/source/configure hold/source/configure *** samba-3.0.23c/source/configure Thu Aug 31 12:57:32 2006 --- hold/source/configure Tue Sep 26 14:15:27 2006 *************** *** 29818,29841 **** if test "${with_libiconv+set}" = set; then withval="$with_libiconv" ! if test "$withval" = "no" ; then { { echo "$as_me:$LINENO: error: argument to --with-libiconv must be a directory" >&5 echo "$as_me: error: argument to --with-libiconv must be a directory" >&2;} { (exit 1); exit 1; }; } else ! if test "$withval" != "yes" ; then ICONV_PATH_SPEC=yes LOOK_DIRS="$withval" fi fi fi; for i in $LOOK_DIRS ; do save_LIBS=$LIBS save_LDFLAGS=$LDFLAGS save_CPPFLAGS=$CPPFLAGS - ICONV_FOUND="no" unset libext CPPFLAGS="$CPPFLAGS -I$i/include" --- 29818,29844 ---- if test "${with_libiconv+set}" = set; then withval="$with_libiconv" ! if test "$withval" = "yes" ; then { { echo "$as_me:$LINENO: error: argument to --with-libiconv must be a directory" >&5 echo "$as_me: error: argument to --with-libiconv must be a directory" >&2;} { (exit 1); exit 1; }; } else ! if test "$withval" != "no" ; then ICONV_PATH_SPEC=yes LOOK_DIRS="$withval" + else + LOOK_DIRS="" fi fi fi; + ICONV_FOUND="no" for i in $LOOK_DIRS ; do + echo "Looking in $i"; save_LIBS=$LIBS save_LDFLAGS=$LDFLAGS save_CPPFLAGS=$CPPFLAGS unset libext CPPFLAGS="$CPPFLAGS -I$i/include" diff -rc samba-3.0.23c/source/configure.in hold/source/configure.in *** samba-3.0.23c/source/configure.in Fri Jul 21 10:22:57 2006 --- hold/source/configure.in Tue Sep 26 14:39:29 2006 *************** *** 2282,2302 **** AC_ARG_WITH(libiconv, [ --with-libiconv=BASEDIR Use libiconv in BASEDIR/lib and BASEDIR/include (default=auto) ], [ ! if test "$withval" = "no" ; then AC_MSG_ERROR([argument to --with-libiconv must be a directory]) else ! if test "$withval" != "yes" ; then ICONV_PATH_SPEC=yes LOOK_DIRS="$withval" fi fi ]) for i in $LOOK_DIRS ; do save_LIBS=$LIBS save_LDFLAGS=$LDFLAGS save_CPPFLAGS=$CPPFLAGS - ICONV_FOUND="no" unset libext CPPFLAGS="$CPPFLAGS -I$i/include" dnl This is here to handle -withval stuff for --with-libiconv --- 2282,2304 ---- AC_ARG_WITH(libiconv, [ --with-libiconv=BASEDIR Use libiconv in BASEDIR/lib and BASEDIR/include (default=auto) ], [ ! if test "$withval" = "yes" ; then AC_MSG_ERROR([argument to --with-libiconv must be a directory]) else ! if test "$withval" != "no" ; then ICONV_PATH_SPEC=yes LOOK_DIRS="$withval" + else + LOOK_DIRS="" fi fi ]) + ICONV_FOUND="no" for i in $LOOK_DIRS ; do save_LIBS=$LIBS save_LDFLAGS=$LDFLAGS save_CPPFLAGS=$CPPFLAGS unset libext CPPFLAGS="$CPPFLAGS -I$i/include" dnl This is here to handle -withval stuff for --with-libiconv