diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-11-27 09:03:38 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-11-30 20:25:20 -0600 |
commit | 4c8c8751e51b3d4b91f1daff26302b9702fbbfdc (patch) | |
tree | cf62df214b02e0a3c987537910d69e92ac44e470 /autogen.sh | |
parent | 01b2b72fe4905fb4c3aa1bf3c2c63bd37d51cf52 (diff) |
building rawbuild on mac should not depend on pkg-config being installed
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index defc542c41e9..c2572ebe57a9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -22,6 +22,13 @@ fi touch ChangeLog +if test "z$ACLOCAL_FLAGS" = "z" -a "z`uname -s`" = "zDarwin" ; then + ACLOCAL_FLAGS="-I ./m4/mac" +fi +if test "z`uname -s`" != "zDarwin" ; then + AUTOMAKE_EXTRA_FLAGS=--warnings=no-portability +fi + aclocal $ACLOCAL_FLAGS || exit 1; #automake --gnu --add-missing --copy || exit 1; #intltoolize --copy --force --automake |