e772a3c041
* include missing prototypes
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
$OpenBSD: patch-configure,v 1.2 2012/03/23 21:08:09 naddy Exp $
|
|
--- configure.orig Fri Jul 18 16:48:13 1997
|
|
+++ configure Fri Mar 23 21:59:54 2012
|
|
@@ -1994,7 +1994,7 @@ fi
|
|
|
|
fi
|
|
|
|
-for ac_func in gethostname getgroups opendir memcpy strtol dirfd tcgetattr tcsetpgrp killpg
|
|
+for ac_func in gethostname getgroups opendir memcpy strtol dirfd tcgetattr tcsetpgrp killpg execvpe
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
echo "configure:2001: checking for $ac_func" >&5
|
|
@@ -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
|