From 30fe5268171a612ef489347e3a03c2ce75c7e4d9 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 20 Jan 2007 07:48:49 +0000 Subject: [PATCH] Regenerate for Anton Korobeynikov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33392 91177308-0d34-0410-b5e6-96231b3b80d8 --- configure | 127 ++++++------------------------------------------------ 1 file changed, 12 insertions(+), 115 deletions(-) diff --git a/configure b/configure index b93c97450aa..c0477f6d9e3 100755 --- a/configure +++ b/configure @@ -27586,7 +27586,7 @@ if test "${with_udis86+set}" = set; then USE_UDIS86=1 case "$withval" in - /usr/lib) ;; + /usr/lib|yes) ;; *) LDFLAGS="$LDFLAGS -L${withval}" ;; esac @@ -32717,6 +32717,7 @@ fi +if test "$llvm_cv_platform_type" = "Unix" ; then for ac_header in stdlib.h unistd.h @@ -33183,7 +33184,7 @@ _ACEOF fi rm -f conftest.mmap -{ echo "$as_me:$LINENO: checking for mmap of files" >&5 + { echo "$as_me:$LINENO: checking for mmap of files" >&5 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; } if test "${ac_cv_func_mmap_file+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -33275,7 +33276,7 @@ _ACEOF fi -{ echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5 + { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; } if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -33296,121 +33297,17 @@ cat >>confdefs.h <<\_ACEOF _ACEOF fi -{ echo "$as_me:$LINENO: checking for mprotect" >&5 -echo $ECHO_N "checking for mprotect... $ECHO_C" >&6; } -if test "${ac_cv_func_mprotect+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define mprotect to an innocuous variant, in case declares mprotect. - For example, HP-UX 11i declares gettimeofday. */ -#define mprotect innocuous_mprotect - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char mprotect (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef mprotect - -/* 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 mprotect (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_mprotect || defined __stub___mprotect -choke me -#endif -int -main () -{ -return mprotect (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_mprotect=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_mprotect=no -fi - -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5 -echo "${ECHO_T}$ac_cv_func_mprotect" >&6; } -if test $ac_cv_func_mprotect = yes; then - : -else - { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5 -echo "$as_me: error: Function mprotect() required but not found" >&2;} - { (exit 1); exit 1; }; } -fi - - -if test "$ac_cv_func_mmap_fixed_mapped" = "no" -then - { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5 + if test "$ac_cv_func_mmap_fixed_mapped" = "no" + then + { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;} -fi -if test "$ac_cv_func_mmap_file" = "no" -then - { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5 + fi + if test "$ac_cv_func_mmap_file" = "no" + then + { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5 echo "$as_me: WARNING: mmap() of files required but not found" >&2;} + fi fi -- 2.34.1