Commit | Line | Data |
---|---|---|
8ad57737 JSC |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_PREREQ(2.3)dnl | |
3 | AC_INIT(Makefile.in) | |
4 | ||
5 | AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..) | |
6 | AC_CANONICAL_SYSTEM | |
7 | AC_ARG_PROGRAM | |
8 | ||
9 | . ${srcdir}/../../bfd/configure.host | |
10 | ||
11 | AC_PROG_CC | |
12 | AC_SUBST(CFLAGS) | |
13 | AC_SUBST(HDEFINES) | |
14 | AR=${AR-ar} | |
15 | AC_SUBST(AR) | |
16 | AC_PROG_RANLIB | |
17 | ||
18 | # Put a plausible default for CC_FOR_BUILD in Makefile. | |
19 | AC_C_CROSS | |
20 | if test "x$cross_compiling" = "xno"; then | |
21 | CC_FOR_BUILD='$(CC)' | |
22 | else | |
23 | CC_FOR_BUILD=gcc | |
24 | fi | |
25 | AC_SUBST(CC_FOR_BUILD) | |
26 | ||
27 | AC_OUTPUT(Makefile) |