Commit c285f12e authored by Timothy Stack's avatar Timothy Stack

Add a TBROOT define to the config.h that is set to $prefix.

parent 0749ef9c
......@@ -4,6 +4,7 @@
#undef PACKAGE
#undef VERSION
#undef TBROOT
#undef TBDBNAME
#undef TBADMINGROUP
#undef IPBASE
......
......@@ -1004,6 +1004,10 @@ fi
#
# Be sure to add to config.h.in!
#
cat >> confdefs.h <<EOF
#define TBROOT "$prefix"
EOF
cat >> confdefs.h <<EOF
#define TBDBNAME "$TBDBNAME"
EOF
......@@ -1395,7 +1399,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1399: checking for a BSD compatible install" >&5
echo "configure:1403: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......
......@@ -191,6 +191,7 @@ fi
#
# Be sure to add to config.h.in!
#
AC_DEFINE_UNQUOTED(TBROOT, "$prefix")
AC_DEFINE_UNQUOTED(TBDBNAME, "$TBDBNAME")
AC_DEFINE_UNQUOTED(TBADMINGROUP, "$TBADMINGROUP")
AC_DEFINE_UNQUOTED(IPBASE, "$IPBASE")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment