From 4a54fdec5e6becedc49a90f2bee7e391e3bfe64c Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 24 Jan 2006 07:54:48 +0000 Subject: 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 --- configure | 63 --------------------------------------------------------------- 1 file changed, 63 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 0f83a36ba..c91ac99ed 100755 --- a/configure +++ b/configure @@ -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 - #include - 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" -- cgit