Annotation of parser3/acinclude.m4, revision 1.21

1.1       paf         1: ## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
                      2: ## Copyright (C) 1996-1999, 2000 Free Software Foundation, Inc.
                      3: ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1.11      paf         4: ## only modified AC_LIBLTDL_CONVENIENCE (.la -> .a) by PAF@design.ru
1.1       paf         5: ##
                      6: ## This program is free software; you can redistribute it and/or modify
                      7: ## it under the terms of the GNU General Public License as published by
                      8: ## the Free Software Foundation; either version 2 of the License, or
                      9: ## (at your option) any later version.
                     10: ##
                     11: ## This program is distributed in the hope that it will be useful, but
                     12: ## WITHOUT ANY WARRANTY; without even the implied warranty of
                     13: ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                     14: ## General Public License for more details.
                     15: ##
                     16: ## You should have received a copy of the GNU General Public License
                     17: ## along with this program; if not, write to the Free Software
                     18: ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
                     19: ##
                     20: ## As a special exception to the GNU General Public License, if you
                     21: ## distribute this file as part of a program that contains a
                     22: ## configuration script generated by Autoconf, you may include it under
                     23: ## the same distribution terms that you use for the rest of that program.
                     24: 
1.10      paf        25: 
1.1       paf        26: # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
                     27: # the libltdl convenience library and INCLTDL to the include flags for
                     28: # the libltdl header and adds --enable-ltdl-convenience to the
                     29: # configure arguments.  Note that LIBLTDL and INCLTDL are not
                     30: # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
                     31: # provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
                     32: # with '${top_builddir}/' and INCLTDL will be prefixed with
                     33: # '${top_srcdir}/' (note the single quotes!).  If your package is not
                     34: # flat and you're not using automake, define top_builddir and
                     35: # top_srcdir appropriately in the Makefiles.
                     36: AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1.10      paf        37:   case "$enable_ltdl_convenience" in
                     38:   no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
                     39:   "") enable_ltdl_convenience=yes
                     40:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                     41:   esac
1.2       paf        42:   LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.a
1.1       paf        43:   INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
                     44: ])

E-mail: