Source

packaging / rpmbuild / SOURCES / dl-generic-0.1.0 / configure

Full commit
#!/bin/sh
# This is a generic replacement for GNU autoconf configure scripts.  Obviously you can use one
# if it's necessary, but if you only need a simple Perl script to configure your project,
# call that script conf.pl and expect to get the Makefile.in on the input and the output
# the real Makefile to STDOUT.
#
# The build scripts will do the right thing and call the Makefile.  You should never edit
# Makefile directly, it is just overwritten by configure.
#

chmod +x ./conf.pl
cd `dirname $0`/ && ./conf.pl $@ < Makefile.in > Makefile
pec="$?"
if [ "$pec" -eq "0" ]; then
	echo "Don't forget to run 'make'"
fi

exit "$pec";