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