Home | History | Annotate | Line # | Download | only in autoconf-lib-link
      1  1.1  christos dnl Configuration for the autoconf-lib-link directory of GNU gettext
      2  1.1  christos dnl Copyright (C) 1995-1999, 2000-2003, 2005 Free Software Foundation, Inc.
      3  1.1  christos dnl
      4  1.1  christos dnl This program is free software; you can redistribute it and/or modify
      5  1.1  christos dnl it under the terms of the GNU General Public License as published by
      6  1.1  christos dnl the Free Software Foundation; either version 2, or (at your option)
      7  1.1  christos dnl any later version.
      8  1.1  christos dnl
      9  1.1  christos dnl This program is distributed in the hope that it will be useful,
     10  1.1  christos dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
     11  1.1  christos dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12  1.1  christos dnl GNU General Public License for more details.
     13  1.1  christos dnl
     14  1.1  christos dnl You should have received a copy of the GNU General Public License
     15  1.1  christos dnl along with this program; if not, write to the Free Software Foundation,
     16  1.1  christos dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     17  1.1  christos 
     18  1.1  christos dnl Process this file with autoconf to produce a configure script.
     19  1.1  christos 
     20  1.1  christos AC_PREREQ(2.57)
     21  1.1  christos AC_INIT
     22  1.1  christos AC_CONFIG_SRCDIR(tests/rpath-1a)
     23  1.1  christos AC_CONFIG_AUX_DIR(../build-aux)
     24  1.1  christos . $srcdir/../version.sh
     25  1.1  christos AM_INIT_AUTOMAKE(autoconf-lib-link, $VERSION_NUMBER)
     26  1.1  christos 
     27  1.1  christos dnl Checks for programs.
     28  1.1  christos AC_PROG_CC
     29  1.1  christos AC_PROG_INSTALL
     30  1.1  christos 
     31  1.1  christos dnl Check for host type.
     32  1.1  christos AC_CANONICAL_HOST
     33  1.1  christos 
     34  1.1  christos dnl Checks for UNIX variants that set DEFS,
     35  1.1  christos 
     36  1.1  christos dnl Checks for compiler output filename suffixes.
     37  1.1  christos AC_OBJEXT
     38  1.1  christos AC_EXEEXT
     39  1.1  christos 
     40  1.1  christos dnl Check for build configuration.
     41  1.1  christos gl_WOE32_DLL
     42  1.1  christos AC_LIBTOOL_WIN32_DLL
     43  1.1  christos AC_PROG_LIBTOOL
     44  1.1  christos 
     45  1.1  christos dnl Checks for libraries.
     46  1.1  christos 
     47  1.1  christos dnl Checks for header files.
     48  1.1  christos 
     49  1.1  christos dnl Checks for typedefs, structures, and compiler characteristics.
     50  1.1  christos 
     51  1.1  christos dnl Checks for library functions.
     52  1.1  christos 
     53  1.1  christos dnl Checks for tests/rpathcfg.
     54  1.1  christos AC_SUBST(GCC)
     55  1.1  christos AC_SUBST(LD)
     56  1.1  christos AC_SUBST(with_gnu_ld)
     57  1.1  christos 
     58  1.1  christos aclocaldir='${datadir}/aclocal'
     59  1.1  christos AC_SUBST(aclocaldir)
     60  1.1  christos 
     61  1.1  christos AC_LIB_PREPARE_MULTILIB
     62  1.1  christos LIBDIRSTEM=$acl_libdirstem
     63  1.1  christos AC_SUBST(LIBDIRSTEM)
     64  1.1  christos 
     65  1.1  christos AC_CONFIG_FILES([Makefile],
     66  1.1  christos                 [FIX_MAKEFILE_DISTRIB])
     67  1.1  christos 
     68  1.1  christos AC_CONFIG_FILES([m4/Makefile])
     69  1.1  christos 
     70  1.1  christos AC_CONFIG_FILES([tests/Makefile])
     71  1.1  christos 
     72  1.1  christos AC_OUTPUT
     73