1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

Create and run a bootstrap script to prepare for the transition to

automake.
This commit is contained in:
Roelf Wichertjes
2019-12-15 15:05:34 +01:00
parent 2e427a0f47
commit c07e9ea198
5 changed files with 28 additions and 19 deletions

3
.gitignore vendored
View File

@@ -2,6 +2,7 @@ CVS/
Makefile Makefile
config.h config.h
*.o *.o
bgpq3 bgpq4
config.log config.log
config.status config.status
autom4te.cache

7
bootstrap Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
#
# Script to help bootstrap the build system when checked out from git
#
set -auxo pipefail
autoreconf -i

View File

@@ -1,4 +1,4 @@
/* config.h.in. Generated from configure.in by autoheader. */ /* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <inttypes.h> header file. */ /* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H #undef HAVE_INTTYPES_H

34
configure vendored
View File

@@ -1,8 +1,8 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for bgpq4 0.1.35. # Generated by GNU Autoconf 2.69 for bgpq4 0.0.2.
# #
# Report bugs to job@ntt.net # Report bugs to <job@ntt.net>.
# #
# #
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -266,11 +266,10 @@ fi
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
$as_echo "$0: be upgraded to zsh 4.3.4 or later." $as_echo "$0: be upgraded to zsh 4.3.4 or later."
else else
$as_echo "$0: Please tell bug-autoconf@gnu.org and snar@snar.spb.ru $as_echo "$0: Please tell bug-autoconf@gnu.org and job@ntt.net about
$0: about your system, including any error possibly output $0: your system, including any error possibly output before
$0: before this message. Then install a modern shell, or $0: this message. Then install a modern shell, or manually
$0: manually run the script under such a shell if you do $0: run the script under such a shell if you do have one."
$0: have one."
fi fi
exit 1 exit 1
fi fi
@@ -583,7 +582,7 @@ PACKAGE_TARNAME='bgpq4'
PACKAGE_VERSION='0.0.2' PACKAGE_VERSION='0.0.2'
PACKAGE_STRING='bgpq4 0.0.2' PACKAGE_STRING='bgpq4 0.0.2'
PACKAGE_BUGREPORT='job@ntt.net' PACKAGE_BUGREPORT='job@ntt.net'
PACKAGE_URL='https://github.com/bgp/bgpq4' PACKAGE_URL=''
# Factoring default headers for most tests. # Factoring default headers for most tests.
ac_includes_default="\ ac_includes_default="\
@@ -1228,7 +1227,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures bgpq4 0.1.35 to adapt to many kinds of systems. \`configure' configures bgpq4 0.0.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1289,7 +1288,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of bgpq4 0.1.35:";; short | recursive ) echo "Configuration of bgpq4 0.0.2:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -1369,7 +1368,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
bgpq4 configure 0.1.35 bgpq4 configure 0.0.2
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1528,9 +1527,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
( $as_echo "## ------------------------------- ## ( $as_echo "## -------------------------- ##
## Report this to snar@snar.spb.ru ## ## Report this to job@ntt.net ##
## ------------------------------- ##" ## -------------------------- ##"
) | sed "s/^/$as_me: WARNING: /" >&2 ) | sed "s/^/$as_me: WARNING: /" >&2
;; ;;
esac esac
@@ -1738,7 +1737,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by bgpq4 $as_me 0.1.35, which was It was created by bgpq4 $as_me 0.0.2, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@@ -2086,6 +2085,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers config.h" ac_config_headers="$ac_config_headers config.h"
ac_ext=c ac_ext=c
@@ -4102,7 +4102,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by bgpq4 $as_me 0.1.35, which was This file was extended by bgpq4 $as_me 0.0.2, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -4158,7 +4158,7 @@ $config_files
Configuration headers: Configuration headers:
$config_headers $config_headers
Report bugs to <snar@snar.spb.ru>." Report bugs to <job@ntt.net>."
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1

View File

@@ -1,4 +1,5 @@
AC_INIT(bgpq4,0.0.2,job@ntt.net) AC_INIT(bgpq4,0.0.2,job@ntt.net)
AC_PACKAGE_URL(https://github.com/bgp/bgpq4)
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
AC_PROG_CC AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL