The Samba-Bugzilla – Attachment 7922 Details for
Bug 9194
dynconfig/config.m4: disallow --prefix=/usr and --prefix=/usr/local without --enable-fhs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for v4-0-test
tmp40.diff (text/plain), 1.12 KB, created by
Stefan Metzmacher
on 2012-09-23 00:22:08 UTC
(
hide
)
Description:
Patch for v4-0-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2012-09-23 00:22:08 UTC
Size:
1.12 KB
patch
obsolete
>From bc3775389acb53c519aaab707e8c99efe8e64bb2 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Wed, 18 Jan 2012 08:33:37 +0100 >Subject: [PATCH] dynconfig/config.m4: disallow --prefix=/usr and > --prefix=/usr/local without --enable-fhs > >This matches the waf configure behavior and catches the case where old build >scripts try '--with-fhs' instead of '--enable-fhs'. > >metze >(cherry picked from commit ae037670b83557d8591c633896186a3634de30cc) >--- > dynconfig/config.m4 | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/dynconfig/config.m4 b/dynconfig/config.m4 >index 842a960..6b5dfdb 100644 >--- a/dynconfig/config.m4 >+++ b/dynconfig/config.m4 >@@ -19,6 +19,10 @@ AC_ARG_ENABLE(fhs, > [AS_HELP_STRING([--enable-fhs], [Turn on FHS support (default=no)])]) > > if test x$enable_fhs != xyes; then >+ if test x"$prefix" = x"/usr" -o x"$prefix" = x"/usr/local"; then >+ AC_MSG_WARN([Don't install directly under /usr or /usr/local without using the FHS option (--enable-fhs)]) >+ AC_MSG_ERROR([invalid --prefix=$prefix]) >+ fi > MODULESDIR="${libdir}" > INCLUDEDIR="${includedir}" > SETUPDIR="${datadir}/setup" >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
obnox
:
review+
Actions:
View
Attachments on
bug 9194
: 7922