mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-03-22 08:51:13 +00:00
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:
parent
aa605d7d51
commit
0c2d28b225
1 changed files with 1 additions and 27 deletions
28
configure.in
28
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"
|
||||
|
|
Loading…
Reference in a new issue