3.13rc3 has wrong configure
Maik Hertha
maik.hertha at volkswagen.de
Wed Nov 20 09:01:13 GMT 2002
The configure-script of artsd-1.1.0 (and kdestuff) seems to have a
wrong implementation of kdesuff.
If I define a --enable-libsuffix=32 I got no lib32. If I define a
--disable-libsuffix or --enable-libsuffix=no I got a libno :-(.
There will be a wrong test. What has the existance of lib64 to do
with the compilation of a library. There should be a test with the
depending libraries (qt or qt-mt)
I have enclosed a patch to solve the first two mistakes. The test for
the depending library will come soon. (Hope so ;-)
maik
--
mit freundlichem Gruß /
best regards
Maik Hertha
--------------------------------------------------- h+h
EBSP Anwenderbetreuung, +49 5361 9-74950
Volkswagen AG / Brieffach 1721 / D-38436 Wolfsburg
http://ebsp.wob.vw.de
maik.hertha at volkswagen.de
---------------------------------------------------
hartmann+hertha
it (beratung / entwicklung / support)
http://www.hartmann-hertha.de
mhertha at hartmann-hertha.de
--------------------------------------------------- h+h
-------------- next part --------------
--- configure.ORG Tue Nov 19 12:51:00 2002
+++ configure Tue Nov 19 14:26:40 2002
@@ -5473,42 +5473,40 @@
fi;
-
-
- kdelibsuff=none
+kdelibsuff=
# Check whether --enable-libsuffix or --disable-libsuffix was given.
if test "${enable_libsuffix+set}" = set; then
enableval="$enable_libsuffix"
- kdelibsuff=$enableval
+ case $enableval in
+ 32 | 64 ) kdelibsuff=$enableval;;
+ no | none) kdelibsuff= ;;
+ # FIXME: this should be the value required by qt library (default on sgi n32)
+ yes ) kdelibsuff=32 ;;
+ esac
+
fi;
- if test "$kdelibsuff" = "none"; then
- if test -d /lib64 ; then
- kdelibsuff=64
- else
- kdelibsuff=
- fi
- fi
- if test -z "$kdelibsuff"; then
- echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
-echo "${ECHO_T}not using lib directory suffix" >&6
+
+if test -z "$kdelibsuff"; then
+ echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
+ echo "${ECHO_T}not using lib directory suffix" >&6
cat >>confdefs.h <<\_ACEOF
#define KDELIBSUFF ""
_ACEOF
- else
- if test "$libdir" = '${exec_prefix}/lib'; then
- libdir="$libdir${kdelibsuff}"
- libdir="$libdir"
- fi
+else
+ if test "$libdir" = '${exec_prefix}/lib'; then
+ libdir="$libdir${kdelibsuff}"
+ libdir="$libdir"
+ fi
-cat >>confdefs.h <<_ACEOF
+ cat >>confdefs.h <<_ACEOF
#define KDELIBSUFF "\"${kdelibsuff}\""
_ACEOF
- echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
-echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
- fi
+ echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
+ echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
+fi
# Check whether --enable-fast-install or --disable-fast-install was given.
if test "${enable_fast_install+set}" = set; then
More information about the kde-core-devel
mailing list