Commit | Line | Data |
---|---|---|
c971b7fa | 1 | dnl Autoconf configure script for GDB, the GNU debugger. |
42a4f53d | 2 | dnl Copyright (C) 1995-2019 Free Software Foundation, Inc. |
c971b7fa PA |
3 | dnl |
4 | dnl This file is part of GDB. | |
5 | dnl | |
6 | dnl This program is free software; you can redistribute it and/or modify | |
7 | dnl it under the terms of the GNU General Public License as published by | |
8 | dnl the Free Software Foundation; either version 3 of the License, or | |
9 | dnl (at your option) any later version. | |
10 | dnl | |
11 | dnl This program is distributed in the hope that it will be useful, | |
12 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | dnl GNU General Public License for more details. | |
15 | dnl | |
16 | dnl You should have received a copy of the GNU General Public License | |
17 | dnl along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | dnl Process this file with autoconf to produce a configure script. | |
20 | ||
d0ac1c44 SM |
21 | AC_INIT([libgnu], [UNUSED-VERSION]) |
22 | AC_CONFIG_SRCDIR([import/memmem.c]) | |
c971b7fa | 23 | AC_CONFIG_HEADER(config.h:config.in) |
33bd0102 CB |
24 | AC_CONFIG_MACRO_DIRS([import/m4]) |
25 | AC_CONFIG_MACRO_DIRS([../config]) | |
c971b7fa PA |
26 | AM_MAINTAINER_MODE |
27 | ||
28 | AC_PROG_CC | |
29 | AC_USE_SYSTEM_EXTENSIONS | |
30 | gl_EARLY | |
31 | AM_PROG_CC_STDC | |
32 | ||
73cc7272 TT |
33 | ACX_LARGEFILE |
34 | ||
35 | AC_CONFIG_AUX_DIR(..) | |
c971b7fa PA |
36 | AC_CANONICAL_SYSTEM |
37 | ||
38 | gl_INIT | |
39 | ||
40 | # We don't use automake, but gnulib does. This line lets us generate | |
41 | # its Makefile.in. | |
33bd0102 | 42 | AM_INIT_AUTOMAKE([no-define foreign]) |
c971b7fa | 43 | |
39be3c7e SM |
44 | AM_SILENT_RULES([yes]) |
45 | ||
c971b7fa PA |
46 | # --------------------- # |
47 | # Checks for programs. # | |
48 | # --------------------- # | |
49 | ||
50 | AC_PROG_INSTALL | |
51 | AC_PROG_LN_S | |
52 | AC_PROG_RANLIB | |
53 | ||
54 | AC_CHECK_TOOL(AR, ar) | |
55 | ||
56 | # ---------------------- # | |
57 | # Checks for libraries. # | |
58 | # ---------------------- # | |
59 | ||
60 | AC_OUTPUT(Makefile import/Makefile, | |
61 | [ | |
62 | case x$CONFIG_HEADERS in | |
63 | xconfig.h:config.in) | |
64 | echo > stamp-h ;; | |
65 | esac | |
66 | ]) | |
67 | ||
68 | exit 0 |