diff options
| author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-01-24 07:54:48 +0000 |
|---|---|---|
| committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-01-24 07:54:48 +0000 |
| commit | 4a54fdec5e6becedc49a90f2bee7e391e3bfe64c (patch) | |
| tree | 9c68cf3e766f81d51f2ba43d2444df9ef6d7b2e0 /configure | |
| parent | 0dc104f20dcfa3dbdf301949a4c01d2f38c02687 (diff) | |
git-svn-id: svn://svn.anope.org/anope/trunk@957 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@684 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 63 |
1 files changed, 0 insertions, 63 deletions
@@ -8548,69 +8548,6 @@ _ACEOF fi; -echo "$as_me:$LINENO: checking whether va_list assignments need array notation" >&5 -echo $ECHO_N "checking whether va_list assignments need array notation... $ECHO_C" >&6 -if test "${ac_cv_valistisarray+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - ac_cv_valistisarray=false -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <stdlib.h> - #include <stdarg.h> - void foo(int i, ...) { - va_list ap1, ap2; - va_start(ap1, i); - ap2 = ap1; - if (va_arg(ap2, int) != 123 || va_arg(ap1, int) != 123) { exit(1); } - va_end(ap1); va_end(ap2); - } - int main() - { foo(0, 123); return(0); } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_valistisarray=false -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_valistisarray=true -fi -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -fi - - -if test "$ac_cv_valistisarray" = true ; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_VA_LIST_AS_ARRAY 1 -_ACEOF - - echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - ac_config_files="$ac_config_files Makefile src/bin/anoperc" |
