/[svn]/gigedit/trunk/configure.ac
ViewVC logotype

Diff of /gigedit/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1411 by schoenebeck, Fri Oct 12 17:46:29 2007 UTC revision 1645 by schoenebeck, Sat Jan 19 20:07:39 2008 UTC
# Line 6  AC_CONFIG_AUX_DIR([.]) Line 6  AC_CONFIG_AUX_DIR([.])
6  # The following is the current, official release version of gigedit:  # The following is the current, official release version of gigedit:
7    
8  GIGEDIT_VER_MAJOR=0  GIGEDIT_VER_MAJOR=0
9  GIGEDIT_VER_MINOR=0  GIGEDIT_VER_MINOR=1
10  GIGEDIT_VER_RELEASE=3  GIGEDIT_VER_RELEASE=1
11    
12  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
13  # The following is the libtool / shared library version. This doesn't have to  # The following is the libtool / shared library version. This doesn't have to
# Line 26  GIGEDIT_VER_RELEASE=3 Line 26  GIGEDIT_VER_RELEASE=3
26  #  6. If any interfaces have been removed since the last public release, then set age  #  6. If any interfaces have been removed since the last public release, then set age
27  #     to 0.  #     to 0.
28    
29  LIBGIGEDIT_LT_CURRENT=0  LIBGIGEDIT_LT_CURRENT=1
30  LIBGIGEDIT_LT_REVISION=0  LIBGIGEDIT_LT_REVISION=0
31  LIBGIGEDIT_LT_AGE=0  LIBGIGEDIT_LT_AGE=0
32    
# Line 59  IT_PROG_INTLTOOL(0.35.0) Line 59  IT_PROG_INTLTOOL(0.35.0)
59  AM_GLIB_GNU_GETTEXT  AM_GLIB_GNU_GETTEXT
60    
61  PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.10 gthread-2.0)  PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.10 gthread-2.0)
62  PKG_CHECK_MODULES(GIG, gig >= 3.1.1)  PKG_CHECK_MODULES(GIG, gig >= 3.2.0)
63    
64  # check for presence of libsndfile  # check for presence of libsndfile
65  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2)  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2)
# Line 77  AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, Line 77  AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],,
77  CFLAGS=$gigedit_save_CFLAGS  CFLAGS=$gigedit_save_CFLAGS
78    
79  # check for (optional) presence of liblinuxsampler  # check for (optional) presence of liblinuxsampler
80  liblinuxsampler_version="0.4.0.5cvs"  liblinuxsampler_version="0.5.0"
81  PKG_CHECK_MODULES(  PKG_CHECK_MODULES(
82      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,
83      have_linuxsampler=1, have_linuxsampler=0      have_linuxsampler=1, have_linuxsampler=0
# Line 102  else Line 102  else
102          # convert absolute LS plugin dir into relative dir          # convert absolute LS plugin dir into relative dir
103          # (see ch 27.10 of the automake manual,          # (see ch 27.10 of the automake manual,
104          #  "Installing to Hard-Coded Locations")          #  "Installing to Hard-Coded Locations")
105          LINUXSAMPLER_PLUGIN_DIR=`echo "${LINUXSAMPLER_PLUGIN_DIR}" | sed 's/^.*\/lib\//\${libdir}\//g'`          # this one is extended to work with digit postfixed lib directories
106          echo "Relative plugin dir: ${LINUXSAMPLER_PLUGIN_DIR}"          # (e.g. "/usr/lib64/linuxsampler") as well
107            LINUXSAMPLER_PLUGIN_DIR=`echo "${LINUXSAMPLER_PLUGIN_DIR}" | sed 's/^.*\/lib[[0-9]]*\//\${libdir}\//g'`
108            if echo "${LINUXSAMPLER_PLUGIN_DIR}" | grep "\${libdir}" > /dev/null; then
109                echo "Relative plugin dir: ${LINUXSAMPLER_PLUGIN_DIR}"
110            else
111                echo "*********************************************************"
112                echo "* ! WARNING ! : Could not resolve LinuxSampler's plugin"
113                echo "* directory as relative path. This is probably not an"
114                echo "* issue if you're just going to install gigedit by"
115                echo "* 'make install', but it IS a problem if you're"
116                echo "* installing to a certain destination directory and/or"
117                echo "* compile in sandbox (e.g. Debian package or Gentoo emerge)"
118                echo "*********************************************************"
119            fi
120      fi      fi
121  fi  fi
122  AC_SUBST(LINUXSAMPLER_CFLAGS)  AC_SUBST(LINUXSAMPLER_CFLAGS)
# Line 130  AC_CONFIG_FILES([ Line 143  AC_CONFIG_FILES([
143          doc/quickstart/Makefile          doc/quickstart/Makefile
144          win32/libgigedit.dev          win32/libgigedit.dev
145          win32/gigedit.dev          win32/gigedit.dev
146            win32/gigedit.nsi
147          win32/Makefile          win32/Makefile
148  ])  ])
149  AC_OUTPUT  AC_OUTPUT

Legend:
Removed from v.1411  
changed lines
  Added in v.1645

  ViewVC Help
Powered by ViewVC