fe8aaceaa8
some fixes.
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1 2002/03/21 09:59:48 form Exp $
|
|
--- configure.orig Fri Jul 18 21:48:13 1997
|
|
+++ configure Thu Mar 21 15:23:54 2002
|
|
@@ -2092,14 +2092,14 @@ else
|
|
echo "$ac_t""no" 1>&6
|
|
fi
|
|
|
|
-echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
|
|
-echo "configure:2097: checking for tgetent in -lncurses" >&5
|
|
-ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
|
|
+echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
|
|
+echo "configure:2097: checking for tgetent in -lcurses" >&5
|
|
+ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
ac_save_LIBS="$LIBS"
|
|
-LIBS="-lncurses $LIBS"
|
|
+LIBS="-lcurses $LIBS"
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 2105 "configure"
|
|
#include "confdefs.h"
|
|
@@ -2127,13 +2127,13 @@ LIBS="$ac_save_LIBS"
|
|
fi
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
echo "$ac_t""yes" 1>&6
|
|
- ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
|
|
+ ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
|
|
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
|
|
cat >> confdefs.h <<EOF
|
|
#define $ac_tr_lib 1
|
|
EOF
|
|
|
|
- LIBS="-lncurses $LIBS"
|
|
+ LIBS="-lcurses $LIBS"
|
|
|
|
else
|
|
echo "$ac_t""no" 1>&6
|