Debian Codegraph @

lib/configure.ac

raw
1 dnl autoconf configuration for gperf/lib
2
3 dnl Copyright (C) 1998-2025 Free Software Foundation, Inc.
4 dnl Written by Douglas C. Schmidt <[email protected]>
5 dnl and Bruno Haible <[email protected]>.
6 dnl
7 dnl This file is part of GNU GPERF.
8 dnl
9 dnl This program is free software: you can redistribute it and/or modify
10 dnl it under the terms of the GNU General Public License as published by
11 dnl the Free Software Foundation; either version 3 of the License, or
12 dnl (at your option) any later version.
13 dnl
14 dnl This program is distributed in the hope that it will be useful,
15 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
16 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 dnl GNU General Public License for more details.
18 dnl
19 dnl You should have received a copy of the GNU General Public License
20 dnl along with this program. If not, see <https://www.gnu.org/licenses/>.
21
22 AC_PREREQ([2.70])
23 AC_INIT([gperf], [package])
24 AC_CONFIG_SRCDIR([hash.cc])
25 AC_CONFIG_AUX_DIR([../build-aux])
26 AC_CONFIG_MACRO_DIRS([gnulib-m4])
27 VERSION_NUMBER=`sed -n -e 's/.*version_string = "\(.*\)".*/\1/p' < $srcdir/../src/version.cc`
28 gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER])
29 AM_INIT_AUTOMAKE
30 AC_CONFIG_HEADERS([config.h])
31 dnl
32 dnl checks for programs
33 dnl
34 AC_PROG_CC
35 dnl sets variable CC
36 AC_PROG_CXX
37 dnl sets variable CXX
38 gl_EARLY
39 dnl Early macro expansions from gnulib
40 AC_CHECK_TOOL([AR], [ar])
41 dnl sets variable AR
42 AC_PROG_RANLIB
43 dnl sets variable RANLIB
44 gl_INIT
45 dnl Main macro expansions from gnulib
46 dnl
47 dnl That's it.
48 dnl
49 AC_CONFIG_FILES([Makefile])
50 AC_OUTPUT