* If --sysroot is given, prepend it to prefix for search paths
Issue #869
* Prefix is not used inside Makefiles
Issue #869
* No need to specify the empty string as opt-val's default return
Issue #869
* s/--sysroot/--with-sysroot/
Issue #869
@endif
# paths
-prefix= @prefix@
bindir= @BINDIR@
datadir= @PKGDATADIR@
docdir= @PKGDOCDIR@
with-qdbm:path => "Location of QDBM"
tokyocabinet=0 => "Use TokyoCabinet for the header cache"
with-tokyocabinet:path => "Location of TokyoCabinet"
+# System
+ with-sysroot:path => "Target system root"
# Enable all options
everything=0 => "Enable all options"
}
define SUN_ATTACHMENT
###############################################################################
-set prefix [get-define prefix]
+set prefix [opt-val with-sysroot][get-define prefix]
###############################################################################
# Everything