[Fedora-directory-commits] ldapserver/m4 fhs.m4,1.1,1.2

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Tue Apr 24 18:02:23 UTC 2007


Author: nkinder

Update of /cvs/dirsec/ldapserver/m4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19382/m4

Modified Files:
	fhs.m4 
Log Message:
Resolves: 236612
Summary: Added a configure option for FHS optional software layout style.



Index: fhs.m4
===================================================================
RCS file: /cvs/dirsec/ldapserver/m4/fhs.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fhs.m4	10 Nov 2006 23:59:16 -0000	1.1
+++ fhs.m4	24 Apr 2007 18:02:21 -0000	1.2
@@ -25,6 +25,7 @@
 AC_ARG_WITH(fhs, [  --with-fhs   Use FHS layout],
 [
   with_fhs=yes
+  AC_MSG_RESULT(yes)
 ],
 AC_MSG_RESULT(no))
 
@@ -32,3 +33,15 @@
   AC_DEFINE([IS_FHS], [1], [Use FHS layout])
 fi
 
+# check for --with-fhs-opt
+AC_MSG_CHECKING(for --with-fhs-opt)
+AC_ARG_WITH(fhs-opt, [  --with-fhs-opt   Use FHS optional layout],
+[
+  with_fhs_opt=yes
+  AC_MSG_RESULT(yes)
+],
+AC_MSG_RESULT(no))
+
+if test "$with_fhs" = "yes" -a "$with_fhs_opt" = "yes"; then
+  AC_MSG_ERROR([Can't set both --with-fhs and --with-fhs-opt.  Please only use one of these options.])
+fi




More information about the Fedora-directory-commits mailing list