1 dnl Autoconf configure script for GDB, the GNU debugger.
2 dnl Copyright (C) 1995-2024 Free Software Foundation, Inc.
4 dnl This file is part of GDB.
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.
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.
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/>.
19 dnl Process this file with autoconf to produce a configure script.
21 AC_INIT([libgnu], [UNUSED-VERSION])
22 AC_CONFIG_SRCDIR([import/memmem.c])
23 AC_CONFIG_HEADERS([config.h:config.in])
24 AC_CONFIG_MACRO_DIRS([import/m4])
25 AC_CONFIG_MACRO_DIRS([../config])
29 AC_USE_SYSTEM_EXTENSIONS
30 # Needs to run before gl_EARLY so it can override AC_SYS_LARGEFILE included
41 AM_INIT_AUTOMAKE([no-define no-dist foreign])
43 AM_SILENT_RULES([yes])
45 # --------------------- #
46 # Checks for programs. #
47 # --------------------- #
55 # ---------------------- #
56 # Checks for libraries. #
57 # ---------------------- #
59 AC_CONFIG_FILES(Makefile.gnulib.inc)
61 AC_OUTPUT(Makefile import/Makefile,
63 case x$CONFIG_HEADERS in