X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=52dbf6dfe2c08d87889cc9c908c32a8b0712f7a2;hb=5b637fb0bfa2faa357e08aab646e6c427c9f397c;hp=dda68920d8d633be35db546fbdd9ff84f31a9975;hpb=7614b64ca6c091d487a1b9c47462bd30be0f5445;p=hivex.git diff --git a/configure.ac b/configure.ac index dda6892..52dbf6d 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,12 @@ test "x$U" != "x" && AC_MSG_ERROR([Compiler not ANSI compliant]) AM_PROG_CC_C_O +dnl Work out how to specify the linker script to the linker. +VERSION_SCRIPT_FLAGS=-Wl,--version-script= +`/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null` || \ + VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," +AC_SUBST(VERSION_SCRIPT_FLAGS) + dnl Check support for 64 bit file offsets. AC_SYS_LARGEFILE