openbsd-ports/mail/xfmail/patches/patch-ad

49 lines
1.5 KiB
Plaintext

--- configure.orig Wed Apr 15 09:57:51 1998
+++ configure Sat Jun 27 00:50:25 1998
@@ -2909,16 +2909,16 @@
fi
-ac_safe=`echo "forms.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for forms.h""... $ac_c" 1>&6
-echo "configure:2915: checking for forms.h" >&5
+ac_safe=`echo "X11/forms.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for X11/forms.h""... $ac_c" 1>&6
+echo "configure:2915: checking for X11/forms.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2920 "configure"
#include "confdefs.h"
-#include <forms.h>
+#include <X11/forms.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -2942,13 +2942,13 @@
echo "$ac_t""no" 1>&6
xfmail_error_txt="$xfmail_error_txt
-** Can't find forms.h. Please check that
+** Can't find X11/forms.h. Please check that
the libforms library is installed correctly on your system.
"
xfmail_error=yes
fi
-if test $ac_cv_header_forms_h = yes; then
+if test $ac_cv_header_X11_forms_h = yes; then
echo $ac_n "checking xforms library version""... $ac_c" 1>&6
echo "configure:2954: checking xforms library version" >&5
if eval "test \"`echo '$''{'xfmail_cv_xfversion'+set}'`\" = set"; then
@@ -2958,7 +2958,7 @@
#line 2959 "configure"
#include "confdefs.h"
-#include <forms.h>
+#include <X11/forms.h>
#if ! defined(FL_INCLUDE_VERSION)
%%%old!%%%
#else