diff options
-rw-r--r-- | config.h.in | 6 | ||||
-rwxr-xr-x | configure | 195 |
2 files changed, 1 insertions, 200 deletions
diff --git a/config.h.in b/config.h.in index b91fc58..246c8e9 100644 --- a/config.h.in +++ b/config.h.in @@ -63,12 +63,6 @@ /* Check for libsocket */ #undef LIBSOCKET -/* LLint format */ -#undef LLINT_FORMAT - -/* LLint type */ -#undef LLINT_TYPE - /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -15393,203 +15393,10 @@ _ACEOF -### Check LLint format -if test x"$ac_cv_sizeof_long" = x"8"; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking long printf format" >&5 -$as_echo_n "checking long printf format... " >&6; } -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -main() { long int c = -1, d = -1; char* f = "%ld"; sscanf("1234", f, &c, &d); - exit (c != 1234 || d != -1); } - -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } - -$as_echo "#define LLINT_FORMAT \"%ld\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE long int" >>confdefs.h - - -else - -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -main() { long int c = -1, d = -1; char* f = "%d"; sscanf("1234", f, &c, &d); - exit (c != 1234 || d != -1); } - -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } - -$as_echo "#define LLINT_FORMAT \"%d\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE long int" >>confdefs.h - - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming not on target machine" >&5 -$as_echo "assuming not on target machine" >&6; } - -$as_echo "#define LLINT_FORMAT \"%d\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE int" >>confdefs.h - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -elif test x"$ac_cv_sizeof_long_long" = x"8"; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking long long printf format" >&5 -$as_echo_n "checking long long printf format... " >&6; } -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -main() { long long int c = -1, d = -1; char* f = "%lld"; sscanf("1234", f, &c, &d); - exit (c != 1234 || d != -1); } - -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } - -$as_echo "#define LLINT_FORMAT \"%lld\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE long long int" >>confdefs.h - - -else - -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -main() { long long int c = -1, d = -1; char* f = "%ld"; sscanf("1234", f, &c, &d); - exit (c != 1234 || d != -1); } - -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } - -$as_echo "#define LLINT_FORMAT \"%ld\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE long long int" >>confdefs.h - - -else - -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -main() { long long int c = -1, d = -1; char* f = "%d"; sscanf("1234", f, &c, &d); - exit (c != 1234 || d != -1); } - -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } - -$as_echo "#define LLINT_FORMAT \"%d\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE long long int" >>confdefs.h - - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming not on target machine" >&5 -$as_echo "assuming not on target machine" >&6; } - -$as_echo "#define LLINT_FORMAT \"%d\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE int" >>confdefs.h - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -else - -$as_echo "#define LLINT_FORMAT \"%d\"" >>confdefs.h - - -$as_echo "#define LLINT_TYPE int" >>confdefs.h - -fi - ### check for in_addr_t ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" "#include <sys/types.h> #include <netinet/in.h> +#include <arpa/inet.h> " if test "x$ac_cv_type_in_addr_t" = xyes; then : |