--- embedtools/configure 2011/06/08 12:55:29 1.2.2.1 +++ embedtools/configure 2012/03/20 15:26:40 1.2.2.4 @@ -608,6 +608,7 @@ LIBOBJS EGREP GREP CPP +OS MKDEP target_os target_vendor @@ -682,8 +683,7 @@ CFLAGS LDFLAGS LIBS CPPFLAGS -CPP -CPPFLAGS' +CPP' # Initialize some variables set by options. @@ -3328,6 +3328,9 @@ fi +OS=$(uname) + + CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" LDFLAGS="-L/usr/local/lib ${LDFLAGS}" @@ -3513,6 +3516,51 @@ _ACEOF fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for www_XMLGet in -laitwww" >&5 +$as_echo_n "checking for www_XMLGet in -laitwww... " >&6; } +if ${ac_cv_lib_aitwww_www_XMLGet+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-laitwww $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char www_XMLGet (); +int +main () +{ +return www_XMLGet (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_aitwww_www_XMLGet=yes +else + ac_cv_lib_aitwww_www_XMLGet=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitwww_www_XMLGet" >&5 +$as_echo "$ac_cv_lib_aitwww_www_XMLGet" >&6; } +if test "x$ac_cv_lib_aitwww_www_XMLGet" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBAITWWW 1 +_ACEOF + + LIBS="-laitwww $LIBS" + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for axl_init in -laxl" >&5 $as_echo_n "checking for axl_init in -laxl... " >&6; } if ${ac_cv_lib_axl_axl_init+:} false; then : @@ -4905,7 +4953,7 @@ $as_echo "#define HAVE_WAIT3 1" >>confdefs.h fi -for ac_func in alarm bzero dup2 endpwent getcwd gethostbyname gethostname inet_ntoa isascii memmove memset munmap select socket strcasecmp strchr strdup strerror strrchr strspn strstr strtol strtoul +for ac_func in alarm bzero dup2 endpwent getcwd gethostbyname gethostname inet_ntoa isascii memmove memset munmap select socket strcasecmp strchr strdup strerror strrchr strspn strstr strtol strtoul strtonum do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"