diff options
author | Nathan Kinder <nkinder@redhat.com> | 2007-04-24 18:02:21 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2007-04-24 18:02:21 +0000 |
commit | f6ea31659e16dc61bf109e6f1bc5de49545a7003 (patch) | |
tree | 5c112610ded5a33d99ad841bcff4b34fdec117f2 /m4 | |
parent | 9385cdf0423d4d90a5288d0fc9137dcfe820a7c8 (diff) | |
download | ds-f6ea31659e16dc61bf109e6f1bc5de49545a7003.tar.gz ds-f6ea31659e16dc61bf109e6f1bc5de49545a7003.tar.xz ds-f6ea31659e16dc61bf109e6f1bc5de49545a7003.zip |
Resolves: 236612
Summary: Added a configure option for FHS optional software layout style.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/fhs.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -25,6 +25,7 @@ AC_MSG_CHECKING(for --with-fhs) AC_ARG_WITH(fhs, [ --with-fhs Use FHS layout], [ with_fhs=yes + AC_MSG_RESULT(yes) ], AC_MSG_RESULT(no)) @@ -32,3 +33,15 @@ if test "$with_fhs" = "yes"; then 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 |