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.
This commit is contained in:
Marcus Sundberg 2000-02-19 13:51:37 +00:00
parent aa605d7d51
commit 0c2d28b225

View file

@ -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"