diff options
Diffstat (limited to 'libnet/autogen.sh')
-rwxr-xr-x | libnet/autogen.sh | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libnet/autogen.sh b/libnet/autogen.sh index 70a7cab..ae10d6b 100755 --- a/libnet/autogen.sh +++ b/libnet/autogen.sh @@ -1,9 +1,22 @@ #!/bin/sh +# +# A bootstrapping script that can be used to generate the autoconf, +# automake and libtool-related scripts of the build process. +# + +trap "/bin/rm -fr autom4te.cache ; \ + echo 'Failed to regenerate autoconf/automake stuff.'" 0 1 2 15 set -x +set -e -aclocal +rm -fr autom4te.cache +libtoolize --copy --force +aclocal -I . autoconf autoheader -automake --add-missing +automake --add-missing -a -c --foreign + +set +e +trap "echo $0 ok" 0 1 2 15 |