diff options
author | pgen <p.gen.progs@gmail.com> | 2015-11-24 22:12:21 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2015-11-24 22:12:21 +0100 |
commit | cc9acd914f1c0028a40861ef96520f243362bf87 (patch) | |
tree | ee92f6ec96261c0c88cea01751d422af751fcd33 /configure | |
parent | 2be21b6d427e8bedf3e78e0fa7c076e238af1727 (diff) |
Remove AC_FUNC_REALLOC from configure.ac
This macro doesn't work properly on HP-UX
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 67 |
1 files changed, 0 insertions, 67 deletions
@@ -4857,73 +4857,6 @@ $as_echo "#define malloc rpl_malloc" >>confdefs.h fi -for ac_header in stdlib.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STDLIB_H 1 -_ACEOF - -fi - -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 -$as_echo_n "checking for GNU libc compatible realloc... " >&6; } -if ${ac_cv_func_realloc_0_nonnull+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - ac_cv_func_realloc_0_nonnull=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined STDC_HEADERS || defined HAVE_STDLIB_H -# include <stdlib.h> -#else -char *realloc (); -#endif - -int -main () -{ -return ! realloc (0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_realloc_0_nonnull=yes -else - ac_cv_func_realloc_0_nonnull=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 -$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } -if test $ac_cv_func_realloc_0_nonnull = yes; then : - -$as_echo "#define HAVE_REALLOC 1" >>confdefs.h - -else - $as_echo "#define HAVE_REALLOC 0" >>confdefs.h - - case " $LIBOBJS " in - *" realloc.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS realloc.$ac_objext" - ;; -esac - - -$as_echo "#define realloc rpl_realloc" >>confdefs.h - -fi - - for ac_func in mblen memset nl_langinfo pathconf regcomp setlocale strchr strdup strrchr do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |