From e47771e97b511c69facf6e6e38a40cd946f4bcbc Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 17 Oct 2014 00:01:44 -0700 Subject: [PATCH] fix typo and prefix AC_PREFIX_DEFAULT was always set, even if AS_IF didn't get called? Some kind of caching? Using just prefix=... seems to work though --- configure.ac | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index eafd1f7..421f39b 100644 --- a/configure.ac +++ b/configure.ac @@ -191,8 +191,8 @@ AC_ARG_ENABLE([osxapp], [enable_OSXAPP="no"]) AS_IF([test x"$enable_OSXAPP" = x"yes"], [ - AC_PREFIX_DEFAULT([`pwd`/XBoard.app/Contents]) - AC_DEFINE([OSXAPP], [1], [We are building an OSX APP, redefine some functions])], + prefix=`pwd`/XBoard.app/Contents + AC_DEFINE([OSXAPP], [1], [We are building an OSX APP, redefine some functions]) with_GTK="yes" enable_mimedb="no" datarootdir='$(prefix)/Resources' @@ -202,8 +202,7 @@ AS_IF([test x"$enable_OSXAPP" = x"yes"], [ mandir='$(datadir)/man' bindir='$(prefix)/MacOS' localedir='$(datadir)/locale' - GAMEDATADIR='$(datadir)/xboard' -]) + GAMEDATADIR='$(datadir)/xboard'],[]) AM_CONDITIONAL(OSX_APP, test x"$enable_OSXAPP" = x"yes") -- 1.7.0.4