Browse Source

sync autogen.sh with LibreSSL, cache upstream config scripts

OPENBSD_5_9
Brent Cook 8 years ago
parent
commit
38a5e4464f
3 changed files with 3276 additions and 3 deletions
  1. +9
    -3
      autogen.sh
  2. +1454
    -0
      scripts/config.guess
  3. +1813
    -0
      scripts/config.sub

+ 9
- 3
autogen.sh View File

@ -5,6 +5,12 @@ set -e
mkdir -p m4 mkdir -p m4
rm -fr autom4te.cache rm -fr autom4te.cache
autoreconf -i autoreconf -i
chmod -R u+w .
curl 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' > config.guess
curl 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' > config.sub
# Patch libtool 2.4.2 to pass -fstack-protector as a linker argument
sed 's/-fuse-linker-plugin)/-fuse-linker-plugin|-fstack-protector*)/' \
ltmain.sh > ltmain.sh.fixed
mv -f ltmain.sh.fixed ltmain.sh
# Update config scripts and fixup permissions
find . ! -perm -u=w -exec chmod u+w {} \;
cp scripts/config.* .

+ 1454
- 0
scripts/config.guess
File diff suppressed because it is too large
View File


+ 1813
- 0
scripts/config.sub
File diff suppressed because it is too large
View File


Loading…
Cancel
Save