Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 123 lines (110 sloc) 3.099 kb
21880284 »
2010-12-23 packaging
1 #!/bin/sh
2 # vim:ts=4:sw=4
3 # Calls autotools to build configure script and Makefile.in.
4 # Generated automatically using bootstrapper 0.2.1
5 # http://bootstrapper.sourceforge.net/
6 #
7 # Copyright (C) 2002 Anthony Ventimiglia
8 #
9 # This bootstrap script is free software; you can redistribute
10 # it and/or modify it under the terms of the GNU General Public
11 # License as published by the Free Software Foundation; either
12 # version 2 of the License, or (at your option) any later version.
13 #
14 #
15 # Calls proper programs to create configure script and Makefile.in files.
16 # if run with the --clean option, bootstrap removes files it generates. To
17 # clean all autogenerated files (eg: for cvs imports) first run
18 # make distclean, then bootstrap --clean
19 # see bootstrapper(1) for more infor
20
21
22 if test x"$1" = x"--help"; then
23 echo "$0: automatic bootstrapping utility for GNU Autotools"
24 echo " cleans up old autogenerated files and runs autoconf,"
25 echo " automake and aclocal on local directory"
26 echo
27 echo " --clean clean up auto-generated files without"
28 echo " creating new scripts"
29 echo
30 exit 0
31 fi
32
33
34 mkdir -p ac
35 test -f AUTHORS || touch AUTHORS
36 test -f COPYING || touch COPYING
37 test -f ChangeLog || touch ChangeLog
38 test -f NEWS || touch NEWS
84fa5781 »
2011-03-20 updates documents
39 test -f README || cp -f README.rdoc README
21880284 »
2010-12-23 packaging
40
41
42
43 ACLOCAL="aclocal"
44 ACLOCAL_FILES="aclocal.m4"
45 ALWAYS_CLEAN="config.status config.log config.cache libtool"
46 AUTOCONF="autoconf"
47 AUTOCONF_FILES="configure"
48 AUTOHEADER="autoheader"
49 AUTOHEADER_FILES=""
50 AUTOMAKE="automake --add-missing --copy"
51 AUTOMAKE_FILES="config.sub stamp-h.in ltmain.sh missing mkinstalldirs install-sh config.guess"
52 CONFIG_AUX_DIR="."
53 CONFIG_FILES="stamp-h ltconfig"
54 CONFIG_HEADER=""
55 if [ x`uname` = x"Darwin" ]; then
56 LIBTOOLIZE="glibtoolize --force --copy"
57 else
58 LIBTOOLIZE="libtoolize --force --copy"
59 fi
60 LIBTOOLIZE_FILES="config.sub ltmain.sh config.guess"
61 RM="rm"
62 SUBDIRS="[]"
63
64
65 # These are files created by configure, so we'll always clean them
66 for i in $ALWAYS_CLEAN; do
67 test -f $i && \
68 $RM $i
69 done
70
71 if test x"$1" = x"--clean"; then
72 #
73 #Clean Files left by previous bootstrap run
74 #
75 if test -n "$CONFIG_AUX_DIR";
76 then CONFIG_AUX_DIR="$CONFIG_AUX_DIR/"
77 fi
78 # Clean Libtoolize generated files
79 for cf in $LIBTOOLIZE_FILES; do
80 cf="$CONFIG_AUX_DIR$cf"
81 test -f $cf && \
82 $RM $cf
83 done
84 #aclocal.m4 created by aclocal
85 test -f $ACLOCAL_FILES && $RM $ACLOCAL_FILES
86 #Clean Autoheader Generated files
87 for cf in $AUTOHEADER_FILES; do
88 cf=$CONFIG_AUX_DIR$cf
89 test -f $cf && \
90 $RM $cf
91 done
92 # remove config header (Usaually config.h)
93 test -n "$CONFIG_HEADER" && test -f $CONFIG_HEADER && $RM $CONFIG_HEADER
94 #Clean Automake generated files
95 for cf in $AUTOMAKE_FILES; do
96 cf=$CONFIG_AUX_DIR$cf
97 test -f $cf && \
98 $RM $cf
99 done
100 for i in $SUBDIRS; do
101 test -f $i/Makefile.in && \
102 $RM $i/Makefile.in
103 done
104 #Autoconf generated files
105 for cf in $AUTOCONF_FILES; do
106 test -f $cf && \
107 $RM $cf
108 done
109 for cf in $CONFIG_FILES; do
110 cf="$CONFIG_AUX_DIR$cf"
111 test -f $cf && \
112 $RM $cf
113 done
114 else
115 $LIBTOOLIZE
116 $ACLOCAL
d34723b5 »
2011-01-15 fixes configure.in
117 #$AUTOHEADER
21880284 »
2010-12-23 packaging
118 $AUTOMAKE
119 $AUTOCONF
120 fi
121
122
Something went wrong with that request. Please try again.