ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/flex/dist/autogen.sh
Revision: 12020
Committed: Wed Sep 12 01:09:40 2018 UTC (5 years, 7 months ago) by laffer1
Content type: application/x-sh
File size: 1790 byte(s)
Log Message:
Update flex to 2.6.4

File Contents

# Content
1 #!/bin/sh
2
3 # This file is part of flex.
4
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8
9 # 1. Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright
12 # notice, this list of conditions and the following disclaimer in the
13 # documentation and/or other materials provided with the distribution.
14
15 # Neither the name of the University nor the names of its contributors
16 # may be used to endorse or promote products derived from this software
17 # without specific prior written permission.
18
19 # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
20 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
21 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 # PURPOSE.
23
24 # If you see no configure script, then run ./autogen.sh to create it
25 # and procede with the "normal" build procedures.
26
27 # use LIBTOOLIZE, if set
28 LIBTOOLIZE_ORIG="$LIBTOOLIZE";
29 if test "x$LIBTOOLIZE" = "x"; then LIBTOOLIZE=libtoolize; fi
30
31 # test libtoolize
32 $LIBTOOLIZE --version 2>/dev/null
33 if test "$?" -ne 0; then
34 LIBTOOLIZE=glibtoolize
35 $LIBTOOLIZE --version 2>/dev/null
36 if test "$?" -ne 0; then
37 echo "error: libtoolize not working, re-run with LIBTOOLIZE=/path/to/libtoolize"
38 echo " LIBTOOLIZE is currently \"$LIBTOOLIZE_ORIG\""
39 exit 1
40 fi
41 fi
42
43 #if we pretend to have a ChangeLog, then automake is less
44 #worried. (Don't worry, we *do* have a ChangeLog, we just need the
45 #Makefile first.)
46
47 if ! test -f ChangeLog; then
48 touch ChangeLog
49 fi
50 "$LIBTOOLIZE" --install --force
51 autoreconf --install --force