Annotation of parser3/src/lib/ltdl/configure.ac, revision 1.6
1.1 moko 1: # Process this file with autoconf to create configure. -*- autoconf -*-
2: #
1.4 moko 3: # Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2024 Free
4: # Software Foundation, Inc.
1.1 moko 5: # Written by Gary V. Vaughan, 2004
6: #
7: # NOTE: The canonical source of this file is maintained with the
8: # GNU Libtool package. Report bugs to bug-libtool@gnu.org.
9: #
10: # GNU Libltdl is free software; you can redistribute it and/or
11: # modify it under the terms of the GNU Lesser General Public
12: # License as published by the Free Software Foundation; either
13: # version 2 of the License, or (at your option) any later version.
14: #
15: # As a special exception to the GNU Lesser General Public License,
16: # if you distribute this file as part of a program or library that
17: # is built using GNU libtool, you may include this file under the
18: # same distribution terms that you use for the rest of that program.
19: #
20: # GNU Libltdl is distributed in the hope that it will be useful,
21: # but WITHOUT ANY WARRANTY; without even the implied warranty of
22: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23: # GNU Lesser General Public License for more details.
24: #
25: # You should have received a copy of the GNU LesserGeneral Public
1.4 moko 26: # License along with GNU Libltdl. If not, see <https://www.gnu.org/licenses/>.
1.1 moko 27: ####
28:
29: # This configure.ac is not used at all by the libtool bootstrap, but
30: # is copied to the ltdl subdirectory if you libtoolize --ltdl your own
31: # project. Adding LT_WITH_LTDL to your project configure.ac will then
32: # configure this directory if your user doesn't want to use the installed
33: # libltdl.
34:
35: AC_PREREQ(2.59)dnl We use AS_HELP_STRING
36:
37:
38: ## ------------------------ ##
39: ## Autoconf initialisation. ##
40: ## ------------------------ ##
1.4 moko 41: AC_INIT([libltdl], [2.4.3a], [bug-libtool@gnu.org])
1.1 moko 42: AC_CONFIG_HEADERS([config.h:config-h.in])
43: AC_CONFIG_SRCDIR([ltdl.c])
1.2 moko 44: AC_CONFIG_AUX_DIR([../../..])
1.1 moko 45: LT_CONFIG_LTDL_DIR([.]) # I am me!
46:
47:
48: ## ------------------------ ##
49: ## Automake Initialisation. ##
50: ## ------------------------ ##
51:
1.2 moko 52: AM_INIT_AUTOMAKE([gnu subdir-objects])
53: m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
1.1 moko 54:
55:
56: ## ------------------------------- ##
57: ## Libtool specific configuration. ##
58: ## ------------------------------- ##
1.4 moko 59: pkgdatadir='$datadir'"/$PACKAGE"
1.1 moko 60:
61:
62: ## ----------------------- ##
63: ## Libtool initialisation. ##
64: ## ----------------------- ##
65: LT_INIT([dlopen win32-dll])
66: _LTDL_SETUP
67:
68:
1.6 ! moko 69: ## ----------- ##
! 70: ## Assertions. ##
! 71: ## ----------- ##
! 72: # parser3 specific: disable assertions in a release build by default.
! 73: # Has to be set here, as ltdl runs its own configure.
! 74: # CPPFLAGS, not AC_DEFINE: slist.c includes <assert.h> without any config.h.
! 75: AC_ARG_WITH(assertions, [ --with-assertions to enable assertions],
! 76: AC_MSG_WARN(enabling assertions)
! 77: ,
! 78: CPPFLAGS="$CPPFLAGS -DNDEBUG"
! 79: )
! 80:
! 81:
1.1 moko 82: ## -------- ##
83: ## Outputs. ##
84: ## -------- ##
85: AC_CONFIG_FILES([Makefile])
86: AC_OUTPUT
E-mail: