Add INSTALL_PREFIX to config.h, this will be used to add proper relocation

support in UNIX.  Windows and OS X are done differently.

Originally committed to SVN as r2605.
This commit is contained in:
Amar Takhar 2009-01-01 12:58:47 +00:00
parent 85e91c8a98
commit d935c3fdd3
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ AC_C_BIGENDIAN(
aegisubdatadir="$datadir/aegisub" aegisubdatadir="$datadir/aegisub"
AC_SUBST(aegisubdatadir) AC_SUBST(aegisubdatadir)
# Install prefix used by wxStandardPaths::SetInstallPrefix.
AC_DEFINE_UNQUOTED([INSTALL_PREFIX], ["$prefix"], [Default install prefix, or --prefix.])
#################### ####################
# Check for programs # Check for programs