1999-05-03 09:29:11 +02:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
dnl
|
|
|
|
AC_PREREQ(2.13)
|
|
|
|
AC_INIT(ar.c)
|
|
|
|
|
|
|
|
AC_CANONICAL_SYSTEM
|
2000-09-07 23:08:51 +02:00
|
|
|
AC_ISC_POSIX
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2001-02-27 07:43:56 +01:00
|
|
|
changequote(,)dnl
|
|
|
|
BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
|
|
|
|
changequote([,])dnl
|
|
|
|
AM_INIT_AUTOMAKE(binutils, ${BFD_VERSION})
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(targets,
|
|
|
|
[ --enable-targets alternative target configurations],
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes | "") AC_ERROR(enable-targets option must specify target names or 'all')
|
|
|
|
;;
|
|
|
|
no) enable_targets= ;;
|
|
|
|
*) enable_targets=$enableval ;;
|
|
|
|
esac])dnl
|
|
|
|
AC_ARG_ENABLE(commonbfdlib,
|
|
|
|
[ --enable-commonbfdlib build shared BFD/opcodes/libiberty library],
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes) commonbfdlib=true ;;
|
|
|
|
no) commonbfdlib=false ;;
|
|
|
|
*) AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
|
|
|
|
esac])dnl
|
|
|
|
|
2001-08-10 12:56:47 +02:00
|
|
|
build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
2000-04-09 14:17:43 +02:00
|
|
|
AC_ARG_ENABLE(build-warnings,
|
|
|
|
[ --enable-build-warnings Enable build-time compiler warnings if gcc is used],
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes) ;;
|
|
|
|
no) build_warnings="-w";;
|
|
|
|
,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
|
|
|
|
build_warnings="${build_warnings} ${t}";;
|
|
|
|
*,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
|
|
|
|
build_warnings="${t} ${build_warnings}";;
|
|
|
|
*) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
|
|
|
|
esac
|
|
|
|
if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
|
|
|
|
echo "Setting warning flags = $build_warnings" 6>&1
|
|
|
|
fi])dnl
|
|
|
|
WARN_CFLAGS=""
|
|
|
|
if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then
|
|
|
|
WARN_CFLAGS="${build_warnings}"
|
|
|
|
fi
|
|
|
|
AC_SUBST(WARN_CFLAGS)
|
|
|
|
|
1999-05-03 09:29:11 +02:00
|
|
|
AM_CONFIG_HEADER(config.h:config.in)
|
|
|
|
|
|
|
|
if test -z "$target" ; then
|
|
|
|
AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)
|
|
|
|
fi
|
|
|
|
if test -z "$host" ; then
|
|
|
|
AC_MSG_ERROR(Unrecognized host system type; please check config.sub.)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
AC_PROG_YACC
|
|
|
|
AM_PROG_LEX
|
|
|
|
|
2003-05-12 13:06:42 +02:00
|
|
|
ALL_LINGUAS="fr tr ja es sv da zh_CN"
|
1999-05-03 09:29:11 +02:00
|
|
|
CY_GNU_GETTEXT
|
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
AC_EXEEXT
|
1999-06-23 00:50:22 +02:00
|
|
|
if test -n "$EXEEXT"; then
|
|
|
|
AC_DEFINE(HAVE_EXECUTABLE_SUFFIX, 1,
|
|
|
|
[Does the platform use an executable suffix?])
|
|
|
|
fi
|
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
* configure.in: Define EXECUTABLE_SUFFIX.
* dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
ANSI_PROTOTYPES, not __STDC__.
(outfile): Remove.
(gen_exp_file): Change uses of outfile to use alloca.
(make_one_lib_file, make_head, make_tail): Likewise.
(gen_lib_file): Likewise.
(look_for_prog): New static function.
(deduce_name): Rewrite to use look_for_prog.
(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
<stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
<stdarg.h> or <varargs.h>.
(driver_name): Initialize to NULL, not "gcc".
(dlltool_name): Initialize to NULL, not "dlltool".
(display, inform, look_for_prog, deduce_name): New static
functions.
(usage): Mention -mno-cygwin.
(OPTION_MNO_CYGWIN): Define.
(main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
* resrc.c (look_for_default): Make static. Remove unused local
path. Check using EXECUTABLE_SUFFIX.
(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
* Makefile.am: Rebuild dependencies.
(dllwrap_LDADD): Add $(INTLLIBS).
* configure, Makefile.in, config.in: Rebuild.
1999-06-22 22:39:46 +02:00
|
|
|
AC_DEFINE_UNQUOTED(EXECUTABLE_SUFFIX, "${EXEEXT}",
|
|
|
|
[Suffix used for executables, if any.])
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
# host-specific stuff:
|
|
|
|
|
|
|
|
HDEFINES=
|
|
|
|
|
|
|
|
. ${srcdir}/../bfd/configure.host
|
|
|
|
|
|
|
|
AC_SUBST(HDEFINES)
|
|
|
|
AR=${AR-ar}
|
|
|
|
AC_SUBST(AR)
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
BFD_CC_FOR_BUILD
|
|
|
|
|
1999-08-08 20:09:48 +02:00
|
|
|
DEMANGLER_NAME=c++filt
|
|
|
|
case "${host}" in
|
|
|
|
*-*-go32* | *-*-msdos*)
|
|
|
|
DEMANGLER_NAME=cxxfilt
|
|
|
|
esac
|
|
|
|
AC_SUBST(DEMANGLER_NAME)
|
|
|
|
|
1999-05-03 09:29:11 +02:00
|
|
|
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h)
|
|
|
|
AC_HEADER_SYS_WAIT
|
|
|
|
AC_FUNC_ALLOCA
|
2002-06-21 04:34:38 +02:00
|
|
|
AC_CHECK_FUNCS(sbrk utimes setmode getc_unlocked strcoll)
|
2001-12-04 11:11:22 +01:00
|
|
|
|
|
|
|
# Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
|
|
|
|
# needs to be defined for it
|
|
|
|
AC_MSG_CHECKING([for fopen64])
|
|
|
|
AC_CACHE_VAL(bu_cv_have_fopen64,
|
|
|
|
[AC_TRY_LINK([#include <stdio.h>], [FILE *f = fopen64 ("/tmp/foo","r");],
|
|
|
|
bu_cv_have_fopen64=yes,
|
|
|
|
[saved_CPPFLAGS=$CPPFLAGS
|
|
|
|
CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
|
|
|
|
AC_TRY_LINK([#include <stdio.h>], [FILE *f = fopen64 ("/tmp/foo","r");],
|
|
|
|
bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE",
|
|
|
|
bu_cv_have_fopen64=no)
|
|
|
|
CPPFLAGS=$saved_CPPFLAGS])])
|
|
|
|
AC_MSG_RESULT($bu_cv_have_fopen64)
|
2002-06-21 04:41:52 +02:00
|
|
|
if test "$bu_cv_have_fopen64" != no; then
|
2001-12-04 11:11:22 +01:00
|
|
|
AC_DEFINE([HAVE_FOPEN64], 1,
|
|
|
|
[Is fopen64 available?])
|
2002-06-21 04:41:52 +02:00
|
|
|
if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE"; then
|
2001-12-04 11:11:22 +01:00
|
|
|
AC_DEFINE([_LARGEFILE64_SOURCE], 1,
|
|
|
|
[Enable LFS])
|
|
|
|
fi
|
|
|
|
fi
|
1999-05-03 09:29:11 +02:00
|
|
|
|
1999-06-12 17:20:21 +02:00
|
|
|
# Some systems have frexp only in -lm, not in -lc.
|
2000-02-26 01:59:51 +01:00
|
|
|
AC_SEARCH_LIBS(frexp, m)
|
1999-06-12 17:20:21 +02:00
|
|
|
|
1999-05-03 09:29:11 +02:00
|
|
|
AC_MSG_CHECKING(for time_t in time.h)
|
|
|
|
AC_CACHE_VAL(bu_cv_decl_time_t_time_h,
|
|
|
|
[AC_TRY_COMPILE([#include <time.h>], [time_t i;],
|
|
|
|
bu_cv_decl_time_t_time_h=yes, bu_cv_decl_time_t_time_h=no)])
|
|
|
|
AC_MSG_RESULT($bu_cv_decl_time_t_time_h)
|
|
|
|
if test $bu_cv_decl_time_t_time_h = yes; then
|
|
|
|
AC_DEFINE([HAVE_TIME_T_IN_TIME_H], 1,
|
|
|
|
[Is the type time_t defined in <time.h>?])
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(for time_t in sys/types.h)
|
|
|
|
AC_CACHE_VAL(bu_cv_decl_time_t_types_h,
|
|
|
|
[AC_TRY_COMPILE([#include <sys/types.h>], [time_t i;],
|
|
|
|
bu_cv_decl_time_t_types_h=yes, bu_cv_decl_time_t_types_h=no)])
|
|
|
|
AC_MSG_RESULT($bu_cv_decl_time_t_types_h)
|
|
|
|
if test $bu_cv_decl_time_t_types_h = yes; then
|
|
|
|
AC_DEFINE([HAVE_TIME_T_IN_TYPES_H], 1,
|
|
|
|
[Is the type time_t defined in <sys/types.h>?])
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Under Next 3.2 <utime.h> apparently does not define struct utimbuf
|
|
|
|
# by default.
|
|
|
|
AC_MSG_CHECKING([for utime.h])
|
|
|
|
AC_CACHE_VAL(bu_cv_header_utime_h,
|
|
|
|
[AC_TRY_COMPILE([#include <sys/types.h>
|
|
|
|
#ifdef HAVE_TIME_H
|
|
|
|
#include <time.h>
|
|
|
|
#endif
|
|
|
|
#include <utime.h>],
|
|
|
|
[struct utimbuf s;],
|
|
|
|
bu_cv_header_utime_h=yes, bu_cv_header_utime_h=no)])
|
|
|
|
AC_MSG_RESULT($bu_cv_header_utime_h)
|
|
|
|
if test $bu_cv_header_utime_h = yes; then
|
|
|
|
AC_DEFINE(HAVE_GOOD_UTIME_H, 1, [Does <utime.h> define struct utimbuf?])
|
|
|
|
fi
|
|
|
|
|
|
|
|
BFD_NEED_DECLARATION(fprintf)
|
|
|
|
BFD_NEED_DECLARATION(strstr)
|
|
|
|
BFD_NEED_DECLARATION(sbrk)
|
|
|
|
BFD_NEED_DECLARATION(getenv)
|
|
|
|
BFD_NEED_DECLARATION(environ)
|
|
|
|
|
|
|
|
BFD_BINARY_FOPEN
|
|
|
|
|
|
|
|
# target-specific stuff:
|
|
|
|
|
|
|
|
# Canonicalize the secondary target names.
|
|
|
|
if test -n "$enable_targets"; then
|
|
|
|
for targ in `echo $enable_targets | sed 's/,/ /g'`
|
|
|
|
do
|
1999-09-15 01:29:35 +02:00
|
|
|
result=`$ac_config_sub $targ 2>/dev/null`
|
1999-05-03 09:29:11 +02:00
|
|
|
if test -n "$result"; then
|
|
|
|
canon_targets="$canon_targets $result"
|
|
|
|
else
|
|
|
|
# Allow targets that config.sub doesn't recognize, like "all".
|
|
|
|
canon_targets="$canon_targets $targ"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
|
|
|
all_targets=false
|
|
|
|
BUILD_NLMCONV=
|
|
|
|
NLMCONV_DEFS=
|
|
|
|
BUILD_SRCONV=
|
|
|
|
BUILD_DLLTOOL=
|
|
|
|
DLLTOOL_DEFS=
|
|
|
|
BUILD_WINDRES=
|
|
|
|
BUILD_DLLWRAP=
|
|
|
|
BUILD_MISC=
|
2001-01-09 21:25:31 +01:00
|
|
|
OBJDUMP_DEFS=
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
for targ in $target $canon_targets
|
|
|
|
do
|
|
|
|
if test "x$targ" = "xall"; then
|
|
|
|
all_targets=true
|
|
|
|
BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
|
|
|
|
BUILD_SRCONV='$(SRCONV_PROG)'
|
|
|
|
NLMCONV_DEFS="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
|
|
|
|
else
|
|
|
|
case $targ in
|
|
|
|
changequote(,)dnl
|
2003-05-16 18:30:27 +02:00
|
|
|
i[3-7]86*-*-netware*)
|
1999-05-03 09:29:11 +02:00
|
|
|
changequote([,])dnl
|
|
|
|
BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
|
|
|
|
NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_I386"
|
|
|
|
;;
|
|
|
|
alpha*-*-netware*)
|
|
|
|
BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
|
|
|
|
NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_ALPHA"
|
|
|
|
;;
|
|
|
|
powerpc*-*-netware*)
|
|
|
|
BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
|
|
|
|
NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_POWERPC"
|
|
|
|
;;
|
|
|
|
sparc*-*-netware*)
|
|
|
|
BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
|
|
|
|
NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_SPARC"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
case $targ in
|
|
|
|
*-*-hms*) BUILD_SRCONV='$(SRCONV_PROG)' ;;
|
|
|
|
esac
|
|
|
|
case $targ in
|
2000-12-19 23:22:02 +01:00
|
|
|
arm-epoc-pe*)
|
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
|
|
|
;;
|
2003-04-01 12:52:43 +02:00
|
|
|
arm-*-pe* | arm-*-wince)
|
1999-05-03 09:29:11 +02:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
1999-08-05 17:35:10 +02:00
|
|
|
;;
|
2003-04-01 12:52:43 +02:00
|
|
|
thumb-*-pe*)
|
1999-05-03 09:29:11 +02:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
1999-08-05 17:35:10 +02:00
|
|
|
;;
|
2001-02-04 17:37:03 +01:00
|
|
|
arm*-* | xscale-* | strongarm-* | d10v-*)
|
2001-01-09 21:25:31 +01:00
|
|
|
OBJDUMP_DEFS="-DDISASSEMBLER_NEEDS_RELOCS"
|
|
|
|
;;
|
1999-05-03 09:29:11 +02:00
|
|
|
changequote(,)dnl
|
2003-05-16 18:30:27 +02:00
|
|
|
i[3-7]86-*-pe* | i[3-7]86-*-cygwin* | i[3-7]86-*-mingw32** | i[3-7]86-*-netbsdpe*)
|
1999-05-03 09:29:11 +02:00
|
|
|
changequote([,])dnl
|
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
|
|
|
BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
|
1999-08-05 17:35:10 +02:00
|
|
|
;;
|
2003-05-16 18:30:27 +02:00
|
|
|
changequote(,)dnl
|
|
|
|
i[3-7]86-*-interix)
|
|
|
|
changequote([,])dnl
|
1999-08-05 17:35:10 +02:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
|
|
|
|
;;
|
2002-05-09 01:15:36 +02:00
|
|
|
powerpc*-*-pe* | powerpc*-*-cygwin*)
|
1999-05-03 09:29:11 +02:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_PPC"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
1999-08-05 17:35:10 +02:00
|
|
|
;;
|
2002-05-09 01:15:36 +02:00
|
|
|
sh*-*-pe)
|
2000-02-24 20:37:32 +01:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_SH"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
|
|
|
;;
|
2002-05-09 01:15:36 +02:00
|
|
|
mips*-*-pe)
|
2000-02-24 20:37:32 +01:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
|
|
|
;;
|
2003-04-01 12:52:43 +02:00
|
|
|
mcore-*-pe)
|
1999-05-15 17:25:22 +02:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
1999-08-05 17:35:10 +02:00
|
|
|
;;
|
2003-04-01 12:52:43 +02:00
|
|
|
mcore-*-elf)
|
1999-05-15 17:25:22 +02:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
|
1999-08-05 17:35:10 +02:00
|
|
|
;;
|
2002-10-23 16:49:08 +02:00
|
|
|
c4x-*-* | tic4x-*-*)
|
|
|
|
OBJDUMP_DEFS="$OBJDUMP_DEFS -DSKIP_ZEROES=32"
|
|
|
|
;;
|
2002-12-05 19:33:27 +01:00
|
|
|
ia64-*-*)
|
|
|
|
OBJDUMP_DEFS="$OBJDUMP_DEFS -DSKIP_ZEROES=16"
|
|
|
|
;;
|
1999-05-03 09:29:11 +02:00
|
|
|
esac
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
2001-08-03 18:27:22 +02:00
|
|
|
if test "${with_windres+set}" = set; then
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
|
|
|
fi
|
|
|
|
|
1999-05-03 09:29:11 +02:00
|
|
|
AC_SUBST(NLMCONV_DEFS)
|
|
|
|
AC_SUBST(BUILD_NLMCONV)
|
|
|
|
AC_SUBST(BUILD_SRCONV)
|
|
|
|
AC_SUBST(BUILD_DLLTOOL)
|
|
|
|
AC_SUBST(DLLTOOL_DEFS)
|
|
|
|
AC_SUBST(BUILD_WINDRES)
|
|
|
|
AC_SUBST(BUILD_DLLWRAP)
|
|
|
|
AC_SUBST(BUILD_MISC)
|
2001-01-09 21:25:31 +01:00
|
|
|
AC_SUBST(OBJDUMP_DEFS)
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])
|
|
|
|
|
|
|
|
targ=$target
|
|
|
|
. $srcdir/../bfd/config.bfd
|
|
|
|
if test "x$targ_underscore" = "xyes"; then
|
|
|
|
UNDERSCORE=1
|
|
|
|
else
|
|
|
|
UNDERSCORE=0
|
|
|
|
fi
|
2002-09-17 09:09:47 +02:00
|
|
|
AC_DEFINE_UNQUOTED(TARGET_PREPENDS_UNDERSCORE, $UNDERSCORE,
|
|
|
|
[Define to 1 if user symbol names have a leading underscore, 0 if not.])
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2002-03-18 13:46:27 +01:00
|
|
|
# Emulation
|
|
|
|
for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
|
|
|
|
do
|
|
|
|
# Canonicalize the secondary target names.
|
|
|
|
result=`$ac_config_sub $targ_alias 2>/dev/null`
|
|
|
|
if test -n "$result"; then
|
|
|
|
targ=$result
|
|
|
|
else
|
|
|
|
targ=$targ_alias
|
|
|
|
fi
|
|
|
|
|
|
|
|
. ${srcdir}/configure.tgt
|
|
|
|
|
|
|
|
EMULATION=$targ_emul
|
|
|
|
EMULATION_VECTOR=$targ_emul_vector
|
|
|
|
done
|
|
|
|
|
|
|
|
AC_SUBST(EMULATION)
|
|
|
|
AC_SUBST(EMULATION_VECTOR)
|
|
|
|
|
2001-06-19 13:57:29 +02:00
|
|
|
AC_OUTPUT(Makefile doc/Makefile po/Makefile.in:po/Make-in,
|
1999-05-03 09:29:11 +02:00
|
|
|
[
|
|
|
|
case "x$CONFIG_FILES" in
|
|
|
|
*) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
|
|
|
|
esac
|
|
|
|
])
|