blob: d593f000484d3ff4feb37411e5a5533c4b1ed9f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
$NetBSD: patch-aa,v 1.2 1998/08/07 11:13:51 agc Exp $
--- configure.orig Sun Aug 25 12:32:03 1996
+++ configure Thu Aug 29 10:26:50 1996
@@ -37,6 +37,8 @@
--with-libraries additional libraries to link with"
ac_help="$ac_help
--with-csops add CSOps standard options"
+ac_help="$ac_help
+ --with-fbsdops add FreeBSD standard options"
# Initialize some variables set by options.
# The variables have the same names as the options, with
@@ -557,8 +559,8 @@
test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
-test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/etc'
-test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
+test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/etc'
+test "$sysconfdir" = '${prefix}/etc' || sysconfdir='/etc'
# Check whether --with-CC or --without-CC was given.
@@ -784,6 +786,20 @@
yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DUSE_INSULTS -DCLASSIC_INSULTS -DCSOPS_INSULTS -DENV_EDITOR"
sbindir='$(exec_prefix)/sbin'
echo 'CSOps--adding options: IGNORE_DOT_PATH USE_INSULTS CLASSIC_INSULTS CSOPS_INSULTS ENV_EDITOR'
+ ;;
+ no) ;;
+ *) echo "Ignoring unknown argument to --with-csops: $with_csops"
+ ;;
+esac
+fi
+
+# Check whether --with-fbsdops or --without-fbsdops was given.
+if test "${with_fbsdops+set}" = set; then
+ withval="$with_fbsdops"
+ case $with_fbsdops in
+ yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TICKETS"
+ sbindir='$(exec_prefix)/sbin'
+ echo 'fbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS'
;;
no) ;;
*) echo "Ignoring unknown argument to --with-csops: $with_csops"
|