diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 27317bea6..81265f1e8 100644 --- a/configure.in +++ b/configure.in | |||
@@ -4,10 +4,6 @@ AC_CONFIG_HEADER(config.h) | |||
4 | AC_PROG_CC | 4 | AC_PROG_CC |
5 | AC_CANONICAL_HOST | 5 | AC_CANONICAL_HOST |
6 | 6 | ||
7 | # C Compiler features | ||
8 | if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi | ||
9 | AC_C_INLINE | ||
10 | |||
11 | # Checks for programs. | 7 | # Checks for programs. |
12 | AC_PROG_CPP | 8 | AC_PROG_CPP |
13 | AC_PROG_RANLIB | 9 | AC_PROG_RANLIB |
@@ -16,6 +12,17 @@ AC_CHECK_PROG(AR, ar, ar) | |||
16 | AC_PATH_PROG(PERL, perl) | 12 | AC_PATH_PROG(PERL, perl) |
17 | AC_SUBST(PERL) | 13 | AC_SUBST(PERL) |
18 | 14 | ||
15 | if test -z "$LD" ; then | ||
16 | LD=$CC | ||
17 | fi | ||
18 | AC_SUBST(LD) | ||
19 | |||
20 | # C Compiler features | ||
21 | AC_C_INLINE | ||
22 | if test "$GCC" = "yes"; then | ||
23 | CFLAGS="$CFLAGS -Wall" | ||
24 | fi | ||
25 | |||
19 | # Check for some target-specific stuff | 26 | # Check for some target-specific stuff |
20 | case "$host" in | 27 | case "$host" in |
21 | *-*-aix*) | 28 | *-*-aix*) |