309fca35ac
Absolute symlinks break when the source is moved to another location. In the best case, the symlink will be replaced with a copy, but that creates code duplication. A user who got the packaged source may decide to change one config.c without realizing that another config.c will get the same changes. Don't ignore config.c, it's a regular source file now, albeit very short. Testing done: compiled inside and outside build directory.
37 lines
462 B
Bash
Executable File
37 lines
462 B
Bash
Executable File
#!/bin/sh
|
|
|
|
which autoconf
|
|
if ! test $? -eq 0
|
|
then
|
|
echo "error, install autoconf"
|
|
exit 1
|
|
fi
|
|
|
|
which automake
|
|
if ! test $? -eq 0
|
|
then
|
|
echo "error, install automake"
|
|
exit 1
|
|
fi
|
|
|
|
which libtool || which libtoolize
|
|
if ! test $? -eq 0
|
|
then
|
|
echo "error, install libtool"
|
|
exit 1
|
|
fi
|
|
|
|
which pkg-config
|
|
if ! test $? -eq 0
|
|
then
|
|
echo "error, install pkg-config"
|
|
exit 1
|
|
fi
|
|
|
|
touch configure.ac
|
|
touch NEWS
|
|
touch AUTHORS
|
|
touch README
|
|
touch ChangeLog
|
|
autoreconf -fvi
|