--- embedtools/configure 2011/06/08 12:55:29 1.2.2.1 +++ embedtools/configure 2011/06/13 20:04:12 1.2.2.3 @@ -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}" @@ -4905,7 +4908,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"