freebsd-ports/net/slirp/files/patch-configure
Dmitry Sivachenko 01fb33beca Unbreak on -current:
Configure script makes too many conclusions based on the fact we have
grantpt() function.  Pretend that we do not have one to fix the build.

Reminded by:	kris
2003-05-19 08:03:14 +00:00

23 lines
857 B
Text

--- configure.orig Mon Mar 26 07:47:44 2001
+++ configure Mon May 19 11:55:11 2003
@@ -846,9 +846,9 @@
echo "$ac_t""$CPP" 1>&6
if test x$GCC = xyes; then
- CFLAGS2="-O2 -Wall -Wno-implicit -Wmissing-prototypes"
+ CFLAGS2=""
else
- CFLAGS2="-O"
+ CFLAGS2=""
echo "WARNING: Not using GCC to compile may be hazzardous to your health."
echo " If you can get Slirp to compile and run w/o GCC, notify us so"
echo " we can test for which compiler you're using. RedWolf recommends"
@@ -1927,7 +1927,7 @@
-for ac_func in strdup strerror random srandom index bcmp drand48 memmove setenv inet_aton revoke grantpt fchmod
+for ac_func in strdup strerror random srandom index bcmp drand48 memmove setenv inet_aton revoke fchmod
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1934: checking for $ac_func" >&5