\
/usr/openwin/share/include"
-case "${host}" in
- *-*-linux* | *-*-irix6* | *-*-solaris2* )
- echo "$as_me:$LINENO: checking for libraries directory" >&5
+echo "$as_me:$LINENO: checking for libraries directory" >&5
echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
-if test "${wx_cv_std_libpath+set}" = set; then
+
+case "${host}" in
+ *-*-irix6* )
+ if test "${wx_cv_std_libpath+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
fi
-echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
-echo "${ECHO_T}$wx_cv_std_libpath" >&6
+
+ ;;
+
+ *-*-solaris2* )
+ if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
+ wx_cv_std_libpath="lib/64"
+ else
+ wx_cv_std_libpath="lib"
+ fi
+ ;;
+
+ *-*-linux* )
+ if test "$ac_cv_sizeof_void_p" = 8 -a \
+ -d "/usr/lib64" -a ! -h "/usr/lib64"; then
+ wx_cv_std_libpath="lib64"
+ else
+ wx_cv_std_libpath="lib"
+ fi
;;
*)
;;
esac
-SEARCH_LIB=`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g`
+echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
+echo "${ECHO_T}$wx_cv_std_libpath" >&6
+
+SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
if test "$build" != "$host" -a "$GCC" = yes; then
if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
fi
if test -z "$x_libraries" -o "$x_libraries" = NONE; then
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libXt.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
x_libraries=$ac_find_libraries
fi
fi
echo "$as_me:$LINENO: checking for gpewidget library" >&5
echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libgpewidget.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" != "" ; then
if test "$ac_find_libraries" = "default location"; then
echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libXm.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "x$ac_find_libraries" != "x" ; then
echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
else
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
+ save_LIBS="$LIBS"
+ LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
sed 's/^/| /' conftest.$ac_ext >&5
- echo "$as_me:$LINENO: result: no" >&5
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
- { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
+ { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
{ (exit 1); exit 1; }; }
conftest$ac_exeext conftest.$ac_ext
CFLAGS=$save_CFLAGS
+ LIBS="$save_LIBS"
fi
echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
echo "$as_me:$LINENO: checking for Xpm library" >&5
echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libXpm.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" != "" ; then
if test "$ac_find_libraries" = "default location"; then
echo "$as_me:$LINENO: checking for Xinerama" >&5
echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libXinerama.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" != "" ; then
if test "$ac_find_libraries" = "default location"; then
echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" != "" ; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
echo "$as_me:$LINENO: checking for -lGL" >&5
echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libGL.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" != "" ; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
echo "$as_me:$LINENO: checking for -lGLU" >&5
echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libGLU.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" != "" ; then
if test "$ac_find_libraries" = "default location"; then
echo "$as_me:$LINENO: checking for -lMesaGL" >&5
echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libMesaGL.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" != "" ; then
if test "$ac_find_libraries" = "default location"; then
echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
-
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
do
done
done
- if test "x$ac_find_libraries" = "x" ; then
-
- ac_find_libraries=
- for ac_dir in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64;
- do
- for ac_extension in a so sl dylib dll.a; do
- if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
-
- if test "x$ac_find_libraries" != "x" ; then
- ac_find_libraries="default location"
- fi
- fi
-
if test "$ac_find_libraries" = "" ; then
echo "$as_me:$LINENO: result: no" >&5