1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/lib/ldb/autogen.sh
Jelmer Vernooij 5e574b2b94 r26582: Use the same swig flags everywhere.
(This used to be commit 7008f90e03)
2007-12-24 01:51:07 -06:00

25 lines
604 B
Bash
Executable File

#!/bin/sh
rm -rf autom4te.cache
rm -f configure config.h.in
IPATHS="-I libreplace -I lib/replace -I ../libreplace -I ../replace"
IPATHS="$IPATHS -I lib/talloc -I talloc -I ../talloc"
IPATHS="$IPATHS -I lib/tdb -I tdb -I ../tdb"
IPATHS="$IPATHS -I lib/popt -I popt -I ../popt"
# Always keep this listed last, so the built-in versions of tdb and talloc
# get used if available.
IPATHS="$IPATHS -I ./external"
autoheader $IPATHS || exit 1
autoconf $IPATHS || exit 1
rm -rf autom4te.cache
swig -O -Wall -python -keyword ldb.i # Ignore errors, for now
echo "Now run ./configure and then make."
exit 0