Annotation of embedaddon/libiconv/preload/configure.ac, revision 1.1.1.1

1.1       misho       1: dnl Copyright (C) 1999-2009 Free Software Foundation, Inc.
                      2: dnl This file is part of the GNU LIBICONV Library.
                      3: dnl
                      4: dnl The GNU LIBICONV Library is free software; you can redistribute it and/or
                      5: dnl modify it under the terms of the GNU Library General Public License as
                      6: dnl published by the Free Software Foundation; either version 2 of the
                      7: dnl License, or (at your option) any later version.
                      8: dnl
                      9: dnl The GNU LIBICONV Library is distributed in the hope that it will be useful,
                     10: dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
                     11: dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                     12: dnl Library General Public License for more details.
                     13: dnl
                     14: dnl You should have received a copy of the GNU Library General Public License
                     15: dnl along with the GNU LIBICONV Library; see the file COPYING.LIB.  If not,
                     16: dnl write to the Free Software Foundation, Inc., 51 Franklin Street,
                     17: dnl Fifth Floor, Boston, MA 02110-1301, USA.
                     18: 
                     19: AC_PREREQ([2.60])
                     20: 
                     21: PACKAGE=libiconv
                     22: VERSION=0
                     23: 
                     24: AC_INIT([configure.ac])
                     25: AC_CONFIG_AUX_DIR([../build-aux])
                     26: AC_PROG_MAKE_SET
                     27: AC_SUBST([PACKAGE])
                     28: AC_SUBST([VERSION])
                     29: 
                     30: dnl           checks for basic programs
                     31: 
                     32: AC_PROG_CC
                     33: AC_PROG_CPP
                     34: AC_PROG_INSTALL
                     35: 
                     36: dnl           check for host type
                     37: 
                     38: AC_CANONICAL_HOST
                     39: 
                     40: dnl           checks for installer options
                     41: 
                     42: gl_RELOCATABLE_LIBRARY
                     43: 
                     44: dnl           checks for programs
                     45: 
                     46: AC_PROG_LN_S
                     47: 
                     48: dnl           checks for UNIX variants that set DEFS
                     49: 
                     50: AC_USE_SYSTEM_EXTENSIONS
                     51: 
                     52: dnl           checks for compiler output filename suffixes
                     53: 
                     54: AC_OBJEXT
                     55: AC_EXEEXT
                     56: 
                     57: dnl           check for build configuration
                     58: 
                     59: dnl Here we need to build shared object files, regardless whether the user
                     60: dnl wants to the libiconv library itself to be installed shared or static or
                     61: dnl both.
                     62: enable_shared=yes
                     63: enable_static=no
                     64: LT_INIT([win32-dll])
                     65: gl_VISIBILITY
                     66: 
                     67: dnl           check whether OS supports plug libraries
                     68: 
                     69: case "$host_os" in
                     70:   linux* | solaris* | osf*)
                     71:     PLUGLIB="preloadable_libiconv.so" ;;
                     72:   *)
                     73:     PLUGLIB=""
                     74: esac
                     75: AC_SUBST([PLUGLIB])
                     76: 
                     77: AC_CONFIG_FILES([Makefile])
                     78: AC_OUTPUT

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>