summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-02-17 13:10:14 +0100
committerDavid Tardon <dtardon@redhat.com>2012-02-17 15:53:58 +0100
commit12c35f511e7d2ff74113f307212b6b422898b0f2 (patch)
tree0f84872234721c5df89ffdc04709ee9a3b3a559f /autogen.sh
parent1a1c6f8f8e7850741d7d8a31c0f62beae7820a37 (diff)
add macro for extracting mingw dll names from libtool files
Hardcoding dll names from SuSE Linux in configure.in is not good, because they might be slightly different on other systems (notably Fedora :-), or the libraries might be compiled with different dependencies.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index f423fe19b867..d41ccdd91928 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -125,7 +125,11 @@ sanity_checks ($system) unless($system eq 'Darwin');
my $aclocal_flags = $ENV{ACLOCAL_FLAGS};
-$aclocal_flags = "-I ./m4/mac" if (($aclocal_flags eq "") && ($system eq 'Darwin'));
+if ($aclocal_flags eq "")
+{
+ $aclocal_flags = "-I ./m4";
+ $aclocal_flags .= " -I ./m4/mac" if ($system eq 'Darwin');
+}
$ENV{AUTOMAKE_EXTRA_FLAGS} = '--warnings=no-portability' if (!($system eq 'Darwin'));