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