From: Arun Persaud Date: Fri, 17 Oct 2014 07:01:44 +0000 (-0700) Subject: fix typo and prefix X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=e47771e97b511c69facf6e6e38a40cd946f4bcbc 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 --- 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")