/[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 1213 by schoenebeck, Wed May 30 00:14:05 2007 UTC revision 1230 by schoenebeck, Sun Jun 10 11:58:01 2007 UTC
# Line 26  AC_PROG_LIBTOOL Line 26  AC_PROG_LIBTOOL
26  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
27  AC_SUBST(SHARED_VERSION_INFO)  AC_SUBST(SHARED_VERSION_INFO)
28    
29  AC_CONFIG_SRCDIR(src/main.cpp)  # configure checks for the following file's existence to make sure that
30    # the directory that it is told contains the source code in fact does.
31    # Occasionally people accidentally specify the wrong directory with
32    # `--srcdir'; this is a safety check.
33    AC_CONFIG_SRCDIR(src/gigedit/main.cpp)
34    
35  AC_CONFIG_HEADERS(config.h)  AC_CONFIG_HEADERS(config.h)
36  AM_INIT_AUTOMAKE  AM_INIT_AUTOMAKE
37    
# Line 53  PKG_CHECK_MODULES( Line 58  PKG_CHECK_MODULES(
58      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,
59      have_linuxsampler=1, have_linuxsampler=0      have_linuxsampler=1, have_linuxsampler=0
60  )  )
61    LINUXSAMPLER_PLUGIN_DIR=
62  if test "$have_linuxsampler" = "0"; then  if test "$have_linuxsampler" = "0"; then
63      echo "Required liblinuxsampler version not found!"      echo "Required liblinuxsampler version not found!"
64      echo "You need to have liblinuxsampler version ${liblinuxsampler_version}"      echo "You need to have liblinuxsampler version ${liblinuxsampler_version}"
65      echo "installed. Support for on-the-fly editing with LinuxSampler will"      echo "installed. Support for on-the-fly editing with LinuxSampler will"
66      echo "be disabled."      echo "be disabled."
67  else  else
68      echo "yes, found linuxsampler $linuxsampler_version"      echo "Found linuxsampler $liblinuxsampler_version"
69        echo -n "Retrieving LinuxSampler's plugin dir... "
70        LINUXSAMPLER_PLUGIN_DIR=`pkg-config --variable plugindir linuxsampler`
71        if test "$LINUXSAMPLER_PLUGIN_DIR" = ""; then
72            have_linuxsampler=0
73            echo "Error"
74            echo "Could not retrieve LinuxSampler's plugin directory. Support"
75            echo "for on-the-fly editing with LinuxSampler will be disabled."
76        else
77            echo "${LINUXSAMPLER_PLUGIN_DIR} "
78        fi
79  fi  fi
80  AC_SUBST(LINUXSAMPLER_CFLAGS)  AC_SUBST(LINUXSAMPLER_CFLAGS)
81  AC_SUBST(LINUXSAMPLER_LIBS)  AC_SUBST(LINUXSAMPLER_LIBS)
82    AC_SUBST(LINUXSAMPLER_PLUGIN_DIR)
83  AM_CONDITIONAL(HAVE_LINUXSAMPLER, test $have_linuxsampler = "1")  AM_CONDITIONAL(HAVE_LINUXSAMPLER, test $have_linuxsampler = "1")
84  AC_DEFINE_UNQUOTED(  AC_DEFINE_UNQUOTED(
85      HAVE_LINUXSAMPLER, $have_linuxsampler,      HAVE_LINUXSAMPLER, $have_linuxsampler,
# Line 72  AC_DEFINE_UNQUOTED( Line 89  AC_DEFINE_UNQUOTED(
89  AC_CONFIG_FILES([  AC_CONFIG_FILES([
90          Makefile          Makefile
91          src/Makefile          src/Makefile
92            src/gigedit/Makefile
93          src/plugin/Makefile          src/plugin/Makefile
94          po/Makefile.in          po/Makefile.in
95          debian/Makefile          debian/Makefile

Legend:
Removed from v.1213  
changed lines
  Added in v.1230

  ViewVC Help
Powered by ViewVC