This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autoconf: Add autogen.sh, remove configure and config.h.in
Put autoconf-generated files in the release tarball. The minimum required version of autoconf is currently 2.69. If version 2.69 or later is already installed and there is no autoconf default, it may be necessary to set the AUTORECONF environment variable to enable the one to use, like: AUTORECONF=autoreconf-2.69 ./autogen.sh or AUTORECONF=autoreconf-2.71 ./autogen.sh (backported from commit 15e642a)
- Loading branch information
Showing
10 changed files
with
100 additions
and
10,265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh -e | ||
|
||
: "${AUTORECONF:=autoreconf}" | ||
|
||
AUTORECONFVERSION=`$AUTORECONF --version 2>&1 | grep "^autoreconf" | sed 's/.*) *//'` | ||
|
||
maj=`echo "$AUTORECONFVERSION" | cut -d. -f1` | ||
min=`echo "$AUTORECONFVERSION" | cut -d. -f2` | ||
# The minimum required version of autoconf is currently 2.69. | ||
if [ "$maj" = "" ] || [ "$min" = "" ] || \ | ||
[ "$maj" -lt 2 ] || [ "$maj" -eq 2 -a "$min" -lt 69 ]; then | ||
cat >&2 <<-EOF | ||
Please install the 'autoconf' package version 2.69 or later. | ||
If version 2.69 or later is already installed and there is no | ||
autoconf default, it may be necessary to set the AUTORECONF | ||
environment variable to enable the one to use, like: | ||
AUTORECONF=autoreconf-2.69 ./autogen.sh | ||
or | ||
AUTORECONF=autoreconf-2.71 ./autogen.sh | ||
EOF | ||
exit 1 | ||
fi | ||
|
||
echo "$AUTORECONF identification: $AUTORECONFVERSION" | ||
"$AUTORECONF" -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.