make makeconf.sh work under FreeBSD

This commit is contained in:
Csaba Henk
2008-01-07 11:18:33 +00:00
parent 56ebfa593c
commit 93bbd7fda1
2 changed files with 23 additions and 1 deletions
+8
View File
@@ -1,3 +1,11 @@
2008-01-07 Csaba Henk <csaba.henk@creo.hu>
* lib/mount_bsd.c:
- refine device closing in a race-free way
- add support for "-osubtype" on FreeBSD
* makeconf.sh: make it work under FreeBSD
2008-01-03 Csaba Henk <csaba.henk@creo.hu>
* lib/mount_bsd.c: close device before unmount
+15 -1
View File
@@ -3,7 +3,21 @@
echo Running libtoolize...
libtoolize --automake -c -f
cp /usr/share/gettext/config.rpath .
CONFIG_RPATH=/usr/share/gettext/config.rpath
if ! [ -f $CONFIG_RPATH ]; then
CONFIG_RPATH=/usr/local/share/gettext/config.rpath
fi
if ! [ -f $CONFIG_RPATH ]; then
if [ -f config.rpath ]; then
CONFIG_RPATH=
else
echo "config.rpath not found!" >&2
exit 1
fi
fi
if ! [ -z "$CONFIG_RPATH" ]; then
cp "$CONFIG_RPATH" .
fi
if test ! -z "`which autoreconf`"; then
echo Running autoreconf...