aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-12-11 18:47:33 +0000
committerJason Molenda <jmolenda@apple.com>1998-12-11 18:47:33 +0000
commit852b7d11925e764c941874eaac3cbd5b87467926 (patch)
tree222682e76a3dfc36f11c12999453cd3970174508 /gdb/configure
parentdee563f3488a4d298e31264856c737f80c234507 (diff)
downloadgdb-852b7d11925e764c941874eaac3cbd5b87467926.zip
gdb-852b7d11925e764c941874eaac3cbd5b87467926.tar.gz
gdb-852b7d11925e764c941874eaac3cbd5b87467926.tar.bz2
1998-12-11 Jeff Law (law@cygnus.com)
* configure.in (with-sim-gpu2): Do not emit a -L argument without an associated pathname. Link in the math library after the gpu2 library. Assumes that libm is around (and doesn't take advantage of the AC_CHECK_LIB(m) that is already in configure.in), but this is a minor point and unlikely to cause problems.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure23
1 files changed, 14 insertions, 9 deletions
diff --git a/gdb/configure b/gdb/configure
index 3843e38..3f1d2c8 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -5778,7 +5778,12 @@ if test "${with_sim_gpu2+set}" = set; then
mips*-sky*-*)
if test -d "${withval}"
then
- LIBS="${LIBS} -L${withval}/lib -lgpu2 -L${x_libraries} -lX11 -lXext"
+ if test x${x_libraries} != x
+ then
+ LIBS="${LIBS} -L${withval}/lib -lgpu2 -L${x_libraries} -lX11 -lXext -lm"
+ else
+ LIBS="${LIBS} -L${withval}/lib -lgpu2 -lX11 -lXext -lm"
+ fi
else
echo "configure: warning: Directory ${withval} does not exist." 1>&2
fi ;;
@@ -5946,7 +5951,7 @@ links="${links} nm.h"
fi
# start-sanitize-gdbtk
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:5950: checking whether ln -s works" >&5
+echo "configure:5955: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -5981,19 +5986,19 @@ fi
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
-echo "configure:5985: checking for Cygwin environment" >&5
+echo "configure:5990: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'am_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5990 "configure"
+#line 5995 "configure"
#include "confdefs.h"
int main() {
return __CYGWIN32__;
; return 0; }
EOF
-if { (eval echo configure:5997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
am_cv_cygwin=yes
else
@@ -6010,19 +6015,19 @@ echo "$ac_t""$am_cv_cygwin" 1>&6
CYGWIN=
test "$am_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for Mingw32 environment""... $ac_c" 1>&6
-echo "configure:6014: checking for Mingw32 environment" >&5
+echo "configure:6019: checking for Mingw32 environment" >&5
if eval "test \"`echo '$''{'am_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6019 "configure"
+#line 6024 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
EOF
-if { (eval echo configure:6026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
am_cv_mingw32=yes
else
@@ -6041,7 +6046,7 @@ test "$am_cv_mingw32" = yes && MINGW32=yes
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
-echo "configure:6045: checking for executable suffix" >&5
+echo "configure:6050: checking for executable suffix" >&5
if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else