Created
February 20, 2012 19:01
-
-
Save aycanirican/1870743 to your computer and use it in GitHub Desktop.
autoconf generates bad test code...dfly3.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configure:8124: checking for long long | |
| configure:8124: /usr/bin/gcc -c -g -O2 -fno-stack-protector conftest.c >&5 | |
| configure:8124: $? = 0 | |
| configure:8124: /usr/bin/gcc -c -g -O2 -fno-stack-protector conftest.c >&5 | |
| conftest.c: In function 'main': | |
| conftest.c:82: error: expected expression before ')' token | |
| configure:8124: $? = 1 | |
| configure: failed program was: | |
| | /* confdefs.h */ | |
| | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System" | |
| | #define PACKAGE_TARNAME "ghc" | |
| | #define PACKAGE_VERSION "7.5" | |
| | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 7.5" | |
| | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org" | |
| | #define PACKAGE_URL "" | |
| | #define HAVE_BIN_SH 1 | |
| | #define STDC_HEADERS 1 | |
| | #define HAVE_SYS_TYPES_H 1 | |
| | #define HAVE_SYS_STAT_H 1 | |
| | #define HAVE_STDLIB_H 1 | |
| | #define HAVE_STRING_H 1 | |
| | #define HAVE_MEMORY_H 1 | |
| | #define HAVE_STRINGS_H 1 | |
| | #define HAVE_INTTYPES_H 1 | |
| | #define HAVE_STDINT_H 1 | |
| | #define HAVE_UNISTD_H 1 | |
| | #define HAVE_CTYPE_H 1 | |
| | #define HAVE_DIRENT_H 1 | |
| | #define HAVE_DLFCN_H 1 | |
| | #define HAVE_ERRNO_H 1 | |
| | #define HAVE_FCNTL_H 1 | |
| | #define HAVE_GRP_H 1 | |
| | #define HAVE_LIMITS_H 1 | |
| | #define HAVE_LOCALE_H 1 | |
| | #define HAVE_NLIST_H 1 | |
| | #define HAVE_PTHREAD_H 1 | |
| | #define HAVE_PWD_H 1 | |
| | #define HAVE_SIGNAL_H 1 | |
| | #define HAVE_SYS_MMAN_H 1 | |
| | #define HAVE_SYS_RESOURCE_H 1 | |
| | #define HAVE_SYS_SELECT_H 1 | |
| | #define HAVE_SYS_TIME_H 1 | |
| | #define HAVE_SYS_TIMEB_H 1 | |
| | #define HAVE_SYS_TIMERS_H 1 | |
| | #define HAVE_SYS_TIMES_H 1 | |
| | #define HAVE_SYS_UTSNAME_H 1 | |
| | #define HAVE_SYS_WAIT_H 1 | |
| | #define HAVE_TERMIOS_H 1 | |
| | #define HAVE_TIME_H 1 | |
| | #define HAVE_UTIME_H 1 | |
| | #define HAVE_SCHED_H 1 | |
| | #define TIME_WITH_SYS_TIME 1 | |
| | /* end confdefs.h. */ | |
| | #include <stdio.h> | |
| | #ifdef HAVE_SYS_TYPES_H | |
| | # include <sys/types.h> | |
| | #endif | |
| | #ifdef HAVE_SYS_STAT_H | |
| | # include <sys/stat.h> | |
| | #endif | |
| | #ifdef STDC_HEADERS | |
| | # include <stdlib.h> | |
| | # include <stddef.h> | |
| | #else | |
| | # ifdef HAVE_STDLIB_H | |
| | # include <stdlib.h> | |
| | # endif | |
| | #endif | |
| | #ifdef HAVE_STRING_H | |
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| | # include <memory.h> | |
| | # endif | |
| | # include <string.h> | |
| | #endif | |
| | #ifdef HAVE_STRINGS_H | |
| | # include <strings.h> | |
| | #endif | |
| | #ifdef HAVE_INTTYPES_H | |
| | # include <inttypes.h> | |
| | #endif | |
| | #ifdef HAVE_STDINT_H | |
| | # include <stdint.h> | |
| | #endif | |
| | #ifdef HAVE_UNISTD_H | |
| | # include <unistd.h> | |
| | #endif | |
| | int | |
| | main () | |
| | { | |
| | if (sizeof ((long long))) | |
| | return 0; | |
| | ; | |
| | return 0; | |
| | } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment