directories that are not well known to the loader.
How it works:
* libtool figures out the name of this system's library path environment
variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr
configure time (existing code)
* save this variable name in SHLIBPATH_VAR in APRVARS
* substitute this name when apachectl is created
* uncomment the lines containing this variable during binbuild
* install_bindist.sh updates the path to lib/ when the binary is
installed (existing code)
not done yet, but a good idea:
* create a file or directory containing all environment variable settings
for apachectl. Others env vars need to be tweaked, at least on AIX and
OS/390, so keeping them separate should reduce headaches long term.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92299
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.30-dev
+
+ *) Get binary builds working when libapr and libaprutil are built
+ shared [Greg Ames]
*) Get shared builds of libapr and libaprutil, as well as Apache DSOs,
working on AIX. [Aaron Bannert, Dick Dunbar <RLDunbar@pacbell.net>,
cp bindist/conf/httpd.conf bindist/conf/httpd-std.conf
sed -e "s%$BUILD_DIR%$DEFAULT_DIR%" \
+ -e "s%^#binbuild %%" \
bindist/bin/apachectl > bindist/bin/apachectl.tmp
mv bindist/bin/apachectl.tmp bindist/bin/apachectl
APACHE_SUBST(OS)
APACHE_SUBST(OS_DIR)
APACHE_SUBST(BUILTIN_LIBS)
+APACHE_SUBST(SHLIBPATH_VAR)
PRE_SHARED_CMDS='echo ""'
POST_SHARED_CMDS='echo ""'
# the path to your httpd binary, including options if necessary
HTTPD='@prefix@/bin/@progname@'
#
+# the following lines are automatically uncommented for
+# binary builds
+#binbuild @SHLIBPATH_VAR@='@prefix@/lib/:$@SHLIBPATH_VAR@'
+#binbuild export @SHLIBPATH_VAR@
+#
# a command that outputs a formatted text version of the HTML at the
# url given on the command line. Designed for lynx, however other
# programs may work.