X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fconfig%2Fconfigure.ac;h=f526c389398f29b4d01d5ca4ebb77730f567a0e9;hb=e44f4e3c44d44afde20b5f42a66e8df2c75108ff;hp=11e9f28509f9da7409d946d99ac6b21682a0a1eb;hpb=acc2e299d146ba31e030c8e5ed775427b6f0607e;p=synfig.git diff --git a/synfig-studio/trunk/config/configure.ac b/synfig-studio/trunk/config/configure.ac index 11e9f28..f526c38 100755 --- a/synfig-studio/trunk/config/configure.ac +++ b/synfig-studio/trunk/config/configure.ac @@ -1,4 +1,4 @@ -# $Header: /opt/voria/cvs/studio/config/configure.ac,v 1.3 2005/01/17 05:20:08 darco Exp $ +# $Id$ # -- I N I T -------------------------------------------------- @@ -15,9 +15,12 @@ dnl AC_CANONICAL_TARGET AM_INIT_AUTOMAKE AM_MAINTAINER_MODE +API_VERSION=@API_VERSION@ # -- V A R I A B L E S ---------------------------------------- +SVN_REPOSITORY=@SVN_REPOSITORY@ + # -- P R O G R A M S ------------------------------------------ AC_PROG_CC @@ -93,6 +96,22 @@ windowsys="gtkmm" AC_DEFINE(STUDIO_WINSYS_H,"gtkmm/winsys.h",[blah]) AM_CONDITIONAL(WINDOWSYS_GTKMM,true) +AC_ARG_WITH(userdir,[ + --with-userdir=(dirname) Relative path to user directory],[ +],[ +case "$host" in + *mingw* | *cygwin*) + with_userdir="Synfig" + ;; + *darwin*) + with_userdir="Library/Synfig" + ;; + *) + with_userdir=".synfig" + ;; +esac +]) +AC_DEFINE_UNQUOTED(SYNFIG_USER_APP_DIR,"$with_userdir",[Synfig User Data Directory]) # --- FMOD CHECK ------------- AC_ARG_WITH(libfmod,[ @@ -135,6 +154,9 @@ AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(CXXFLAGS) AC_SUBST(LDFLAGS) +AC_SUBST(SVN_REPOSITORY) + +AC_SUBST(API_VERSION) VERSION_MAJ=@VERSION_MAJ@ VERSION_MIN=@VERSION_MIN@ @@ -166,6 +188,8 @@ Makefile synfigstudio.desktop synfigstudio.mime synfigstudio.keys +synfigstudio.xml +synfigstudio-thumbnailer.schemas src/Makefile src/gtkmm/Makefile src/synfigapp/Makefile