Bruce A. Mah | 83af8bd | 2014-08-25 07:50:49 -0700 | [diff] [blame] | 1 | #! /bin/sh |
AaronMatthewBrown | f4a3dda | 2009-12-08 21:36:24 +0000 | [diff] [blame] | 2 | # |
Bruce A. Mah | da9f046 | 2014-09-29 14:00:46 -0700 | [diff] [blame] | 3 | # iperf, Copyright (c) 2014, The Regents of the University of |
| 4 | # California, through Lawrence Berkeley National Laboratory (subject |
| 5 | # to receipt of any required approvals from the U.S. Dept. of |
| 6 | # Energy). All rights reserved. |
| 7 | # |
| 8 | # If you have questions about your rights to use or distribute this |
| 9 | # software, please contact Berkeley Lab's Technology Transfer |
| 10 | # Department at TTD@lbl.gov. |
| 11 | # |
| 12 | # NOTICE. This software is owned by the U.S. Department of Energy. |
| 13 | # As such, the U.S. Government has been granted for itself and others |
| 14 | # acting on its behalf a paid-up, nonexclusive, irrevocable, |
| 15 | # worldwide license in the Software to reproduce, prepare derivative |
| 16 | # works, and perform publicly and display publicly. Beginning five |
| 17 | # (5) years after the date permission to assert copyright is obtained |
| 18 | # from the U.S. Department of Energy, and subject to any subsequent |
| 19 | # five (5) year renewals, the U.S. Government is granted for itself |
| 20 | # and others acting on its behalf a paid-up, nonexclusive, |
| 21 | # irrevocable, worldwide license in the Software to reproduce, |
| 22 | # prepare derivative works, distribute copies to the public, perform |
| 23 | # publicly and display publicly, and to permit others to do so. |
AaronMatthewBrown | f4a3dda | 2009-12-08 21:36:24 +0000 | [diff] [blame] | 24 | # |
Bruce A. Mah | 83af8bd | 2014-08-25 07:50:49 -0700 | [diff] [blame] | 25 | # This code is distributed under a BSD style license, see the LICENSE |
| 26 | # file for complete information. |
AaronMatthewBrown | f4a3dda | 2009-12-08 21:36:24 +0000 | [diff] [blame] | 27 | # |
AaronMatthewBrown | f4a3dda | 2009-12-08 21:36:24 +0000 | [diff] [blame] | 28 | |
Bruce A. Mah | 83af8bd | 2014-08-25 07:50:49 -0700 | [diff] [blame] | 29 | # When changes are made to the build infrastructure, invoke this |
| 30 | # script to regenerate all of the autotools-built files. |
| 31 | # Normally, this is only of use to developers. |
| 32 | |
| 33 | # Figure out how to invoke libtoolize. On MacOS (with MacPorts) |
| 34 | # it's invoked as glibtoolize. |
Bruce A. Mah | 082157b | 2014-03-20 09:46:04 -0700 | [diff] [blame] | 35 | if libtoolize --version >/dev/null 2>&1; then |
| 36 | libtoolize=libtoolize |
| 37 | elif glibtoolize --version >/dev/null 2>&1; then |
| 38 | libtoolize=glibtoolize |
| 39 | else |
| 40 | libtoolize="" |
| 41 | fi |
Bruce A. Mah | 082157b | 2014-03-20 09:46:04 -0700 | [diff] [blame] | 42 | if [ "x$libtoolize" = "x" ]; then |
| 43 | echo "Can't find libtoolize, exiting." |
| 44 | exit 1 |
| 45 | fi |
| 46 | |
Bruce A. Mah | 83af8bd | 2014-08-25 07:50:49 -0700 | [diff] [blame] | 47 | # Execute the various autotools commands in the correct order. |
AaronMatthewBrown | f4a3dda | 2009-12-08 21:36:24 +0000 | [diff] [blame] | 48 | set -x |
Bruce A. Mah | 082157b | 2014-03-20 09:46:04 -0700 | [diff] [blame] | 49 | $libtoolize --copy --force --automake |
sethdelliott | 01ca972 | 2010-07-19 20:38:40 +0000 | [diff] [blame] | 50 | aclocal -I config |
AaronMatthewBrown | f4a3dda | 2009-12-08 21:36:24 +0000 | [diff] [blame] | 51 | autoheader |
Hk | f64da9b | 2018-07-02 13:06:42 -0400 | [diff] [blame] | 52 | automake --add-missing --copy |
AaronMatthewBrown | f4a3dda | 2009-12-08 21:36:24 +0000 | [diff] [blame] | 53 | autoconf |
| 54 | rm -rf config.cache |