[Modcplusplus-devel] (johnksterling) mod_cplusplus configure.in
Brought to you by:
gr84b8,
johnksterling
From: Mod C. C. L. <mod...@so...> - 2005-02-27 22:31:36
|
Mod Cplusplus CVS committal Author : johnksterling Module : mod_cplusplus Dir : mod_cplusplus Modified Files: configure.in Log Message: fix configure to properly detect shared library extensions using shrext variable of libtool. patch submitted by Joerg Hundermarck <jo...@hi...> =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/configure.in,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- configure.in 26 Jan 2005 09:09:58 -0000 1.23 +++ configure.in 27 Feb 2005 22:31:25 -0000 1.24 @@ -8,8 +8,11 @@ AC_CONFIG_HEADERS(config.h) dnl hack to get shlib extension AC_MSG_CHECKING(what the shared library extension is) -SHLIB_EXT=`echo /usr/lib/libc.* | sed -e 's@.*\.@@'` +eval SHLIB_EXT=\"$shrext\" AC_MSG_RESULT($SHLIB_EXT) +if test "$SHLIB_EXT" == "" ; then + AC_MSG_ERROR(could not determine shared library extension. libtool shrext does not work on your platform. ) +fi AC_SUBST(SHLIB_EXT) AC_MSG_CHECKING(for apxs) |