1dnl Process this file with autoconf to produce a configure script. 2AC_PREREQ(2.59)dnl 3AC_INIT(crt0.S) 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 22 23AS=${AS-as} 24AC_SUBST(AS) 25AR=${AR-ar} 26AC_SUBST(AR) 27LD=${LD-ld} 28AC_SUBST(LD) 29AC_PROG_RANLIB 30LIB_AM_PROG_AS 31 32host_makefile_frag=${srcdir}/../config/ppc.mh 33 34dnl We have to assign the same value to other variables because autoconf 35dnl doesn't provide a mechanism to substitute a replacement keyword with 36dnl arbitrary data or pathnames. 37dnl 38host_makefile_frag_path=$host_makefile_frag 39AC_SUBST(host_makefile_frag_path) 40AC_SUBST_FILE(host_makefile_frag) 41 42AC_CONFIG_FILES(Makefile, 43. ${libgloss_topdir}/config-ml.in, 44srcdir=${srcdir} 45target=${target} 46with_multisubdir=${with_multisubdir} 47ac_configure_args="${ac_configure_args} --enable-multilib" 48CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 49libgloss_topdir=${libgloss_topdir} 50) 51AC_OUTPUT 52