Menu

[0c50c7]: / autogen.sh  Maximize  Restore  History

Download this file

42 lines (33 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
# Run this to generate all the initial Makefiles, etc.
# Check how echo works in this /bin/sh
case $(echo -n) in
-n) _echo_n= _echo_c='\c';;
*) _echo_n=-n _echo_c=;;
esac
srcdir=$(dirname $0)
test -z "$srcdir" && srcdir=.
(test -f $srcdir/configure.ac) || {
echo -n "*** Error ***: Directory "\`$srcdir\'" does not look like the"
echo " top-level directory"
exit 1
}
(echo $_echo_n " + Running autoreconf --install: $_echo_c"; \
autoreconf --install; \
echo "done.")
rc=$?
(test -n $rc ) || exit $rc
touch $srcdir/doc/version.texi
test -f $srcdir/doc/stamp-vti && rm $srcdir/doc/stamp-vti
conf_flags="--enable-maintainer-mode" # --enable-compile-warnings #--enable-iso-c
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" \
&& echo Now type \`make\' to compile $PKG_NAME
else
echo Skipping configure process.
fi
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.