diff options
author | Eric Anholt <eric@anholt.net> | 2006-10-27 12:35:38 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-10-27 12:35:38 -0700 |
commit | 0c1954765c32c1bd298111cc6bed2f090494c0cf (patch) | |
tree | 41a0696fe7566cfb110772362b43bd309ce1a382 /configure.ac | |
parent | 3c166cc1efe86ca42180a64e14b6bbbc9744bc82 (diff) |
Fix .pc file with new autotools by using AC_DEFINE_DIR.
With autoconf 2.60, $datadir now expands to use $datarootdir rather than just
$prefix, so the .pc referenced the undefined $datarootdir. AC_DEFINE_DIR
expands it all out for us.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ddcde66..239ba44 100644 --- a/configure.ac +++ b/configure.ac @@ -75,7 +75,7 @@ AC_ARG_WITH(appdefaultdir, [Set app-default directory (default: ${datadir}/X11/app-defaults)]), [appdefaultdir="$withval"], [appdefaultdir=${datadir}/X11/app-defaults]) -AC_SUBST([appdefaultdir]) +AC_DEFINE_DIR([appdefaultdir], [appdefaultdir], [app default data directory]) # Replacement for Imake ToolkitStringsABIOptions, controls string tables # generated by util/string.list in StringDefs.h & Shell.h |