Annotation of parser3/acinclude.m4, revision 1.7

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.2       paf         4: ## paf@design.ru cut it down to AC_LIBLTDL_CONVENIENCE
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: 
                     25: # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
                     26: # the libltdl convenience library and INCLTDL to the include flags for
                     27: # the libltdl header and adds --enable-ltdl-convenience to the
                     28: # configure arguments.  Note that LIBLTDL and INCLTDL are not
                     29: # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
                     30: # provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
                     31: # with '${top_builddir}/' and INCLTDL will be prefixed with
                     32: # '${top_srcdir}/' (note the single quotes!).  If your package is not
                     33: # flat and you're not using automake, define top_builddir and
                     34: # top_srcdir appropriately in the Makefiles.
                     35: AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1.2       paf        36:   LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.a
1.1       paf        37:   INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
                     38: ])

E-mail: