From 0c2d28b2253cd9ccfa81b6c45587e22128e1394c Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Sat, 19 Feb 2000 13:51:37 +0000 Subject: [PATCH] Fix default case when checking C++ comment workaround. How to create shared libraries are not dependant on the OS, and _definitely_ not on CPU-type! Removed silly code. --- configure.in | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/configure.in b/configure.in index 4a27e32..dce6af4 100644 --- a/configure.in +++ b/configure.in @@ -514,38 +514,12 @@ if test "x$GCC" != xyes; then CFLAGS="$CFLAGS -xCC" AC_MSG_RESULT([-xCC]) ;; - default) + *) AC_MSG_RESULT(nothing needed or no switch known) ;; esac fi -dnl Until we use libtool, hardcode commands for creating a shared library -AC_MSG_CHECKING(for how to build shared libraries) -case "$target" in -*-aix*) - SHARED='' - USE_SHARED_LIBS='' - ;; -i?86-*-*) - SHARED=-shared - USE_SHARED_LIBS=-rdynamic - ;; -*-irix6*) - SHARED=-shared - USE_SHARED_LIBS= - ;; -*-solaris*) - SHARED=-G - USE_SHARED_LIBS= - ;; -esac -AC_MSG_RESULT(creating: $SHARED, using: $USE_SHARED_LIBS) -dnl Parameter to linker to make sure a shared library is created -AC_SUBST(SHARED) -dnl Parameter to linker to make sure a binary can use shared libraries -AC_SUBST(USE_SHARED_LIBS) - dnl We want warnings, lots of warnings... if test "x$GCC" = xyes; then CFLAGS="$CFLAGS -Wall -Werror"