From 1bf2a7b4a2737eb7de9f788c7103d54c0928bab2 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 23 Dec 2002 23:45:28 +0000 Subject: 2002-12-24 Marcus Brinkmann * configure.ac: New conditional HAVE_LD_VERSION_SCRIPT. Call AC_CANONICAL_HOST, use host instead target. gpgme/ 2002-12-24 Marcus Brinkmann * libgpgme.vers: New file. * Makefile.am (EXTRA_DIST): Add libgpgme.vers. (libgpgme_version_script_cmd): New variable. (libgpgme_la_LDFLAGS): Add libgpgme_version_script_cmd here. (libgpgme_la_DEPENDENCIES): New variable. --- configure.ac | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 67ce878d..fec653dd 100644 --- a/configure.ac +++ b/configure.ac @@ -81,10 +81,24 @@ dnl Don't default to build static libs. dnl AC_DISABLE_STATIC AC_PROG_LIBTOOL +AC_CANONICAL_HOST +# For now we hardcode the use of version scripts. It would be better +# to write a test for this or even implement this within libtool. +have_ld_version_script=no +case "${host}" in + *-*-linux*) + have_ld_version_script=yes + ;; + *-*-gnu*) + have_ld_version_script=yes + ;; +esac +AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes") + GPG_DEFAULT=no GPGSM_DEFAULT=no component_system=None -case "${target}" in +case "${host}" in *-*-mingw32* | i?86-emx-os2 | i?86-*-os2*emx | i?86-*-msdosdjgpp* ) # special stuff for Windoze NT # OS/2 with the EMX environment -- cgit v1.2.3