diff options
author | Yang Tse <yangsita@gmail.com> | 2009-05-07 13:58:15 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-05-07 13:58:15 +0000 |
commit | 7a928b40f3d2615021faa1e1c921e30d5c983875 (patch) | |
tree | 60f28975058188df6d20d9a52dc6b6ee0e858571 /acinclude.m4 | |
parent | 172501e10c16c28607c86e55fa92b9a75c020478 (diff) | |
download | curl-7a928b40f3d2615021faa1e1c921e30d5c983875.tar.gz |
Proper naming for the experimental compiler test and moved to *-compilers.m4
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index c259e8936..436adb605 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2361,59 +2361,6 @@ AC_DEFUN([CURL_CONFIGURE_CURL_SOCKLEN_T], [ ]) -dnl CURL_A_COUPLE_OF_EXPERIMENTAL_COMPILER_TESTS -dnl ------------------------------------------------- -dnl Use autobuilds to verify if these two tests pass. -dnl To be removed in 24 or 48 hours. - -AC_DEFUN([CURL_A_COUPLE_OF_EXPERIMENTAL_COMPILER_TESTS], [ - AC_MSG_CHECKING([compiler test 01]) - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([[ - struct mystruct { - int member1; - char *member2; - struct mystruct *next; - }; - typedef struct mystruct mystruct; - struct mystruct myfunc(); - typedef char __my_arr_01__ - [sizeof(myfunc().member1) == sizeof(int) ? 1 : -1]; - ]],[[ - /* this should compile ok to pass test 01 */ - struct mystruct dummy; - ]]) - ],[ - AC_MSG_RESULT([pass]) - ],[ - AC_MSG_RESULT([FAIL]) - sed 's/^/cc-src: /' conftest.$ac_ext >&6 - sed 's/^/cc-err: /' conftest.err >&6 - ]) - AC_MSG_CHECKING([compiler test 02]) - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([[ - struct mystruct { - int member1; - char *member2; - struct mystruct *next; - }; - typedef struct mystruct mystruct; - struct mystruct myfunc(); - typedef char __my_arr_02__ - [sizeof(myfunc().member1) == sizeof(char) ? 1 : -1]; - ]],[[ - /* this should fail compilation to pass test 02 */ - struct mystruct dummy; - ]]) - ],[ - AC_MSG_RESULT([FAIL]) - ],[ - AC_MSG_RESULT([pass]) - ]) -]) - - dnl CURL_CHECK_FUNC_SELECT dnl ------------------------------------------------- dnl Test if the socket select() function is available, |