Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F1701729
autogen.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
autogen.sh
View Options
#!/bin/sh
#
# License: GNU General Public License (GPL)
# Copyright 2001 horms <horms@vergenet.net>
# (heavily mangled by alanr)
#
# bootstrap: set up the project and get it ready to make
#
# Basically, we run autoconf, automake and libtool in the
# right way to get things set up for this environment.
#
# We also look and see if those tools are installed, and
# tell you where to get them if they're not.
#
# Our goal is to not require dragging along anything
# more than we need. If this doesn't work on your system,
# (i.e., your /bin/sh is broken) send us a patch.
#
# This code loosely based on the corresponding named script in
# enlightenment, and also on the sort-of-standard autoconf
# bootstrap script.
# Run this to generate all the initial makefiles, etc.
# Unset GREP_OPTIONS as any coloring can mess up the AC_CONFIG_AUX_DIR matching patterns
GREP_OPTIONS= autoreconf -visf
if [ -f config.log ]; then
echo Now re-running ./configure with the previous arguments
last=`grep --color=never "$.*configure" config.log | tail -n 1 | sed s:.*configure:./configure: | sed s:--no-create::`
echo " $last"
eval $last
elif [ "x$1" = xinit -a -e `which rpm` ]; then
cmd="./__configure.rpm"
rpm --eval %{configure} | grep -v program-prefix | sed 's/\t/ /' > $cmd
sh $cmd
make
else
echo "Now run configure with any arguments (eg. --prefix) specific to your system"
if [ -e `which rpm` ]; then
echo "Suggested invocation:"
rpm --eval %{configure} | grep -v program-prefix
fi
fi
trap '' 0
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Oct 29, 7:22 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
906771
Default Alt Text
autogen.sh (1 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment