1dnl Process this file with autoconf to produce a configure script. 2AC_PREREQ(2.59) 3AC_INIT(Makefile.in) 4 5if test "$srcdir" = "." ; then 6 if test "${with_target_subdir}" != "." ; then 7 libgloss_topdir="${srcdir}/${with_multisrctop}../../.." 8 else 9 libgloss_topdir="${srcdir}/${with_multisrctop}../.." 10 fi 11else 12 libgloss_topdir="${srcdir}/../../.." 13fi 14AC_CONFIG_AUX_DIR($libgloss_topdir) 15 16AC_CANONICAL_SYSTEM 17AC_ARG_PROGRAM 18 19AC_PROG_INSTALL 20 21LIB_AC_PROG_CC 22AS=${AS-as} 23AC_SUBST(AS) 24AR=${AR-ar} 25AC_SUBST(AR) 26LD=${LD-ld} 27AC_SUBST(LD) 28AC_PROG_RANLIB 29LIB_AM_PROG_AS 30 31host_makefile_frag=${srcdir}/../../config/default.mh 32 33dnl We have to assign the same value to other variables because autoconf 34dnl doesn't provide a mechanism to substitute a replacement keyword with 35dnl arbitrary data or pathnames. 36dnl 37host_makefile_frag_path=$host_makefile_frag 38AC_SUBST(host_makefile_frag_path) 39AC_SUBST_FILE(host_makefile_frag) 40 41AC_CONFIG_FILES(Makefile, 42. ${libgloss_topdir}/config-ml.in, 43srcdir=${srcdir} 44target=${target} 45with_multisubdir=${with_multisubdir} 46ac_configure_args="${ac_configure_args} --enable-multilib" 47CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 48libgloss_topdir=${libgloss_topdir} 49) 50AC_OUTPUT 51