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

Diff of /linuxsampler/trunk/configure.ac

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

revision 2517 by schoenebeck, Fri Feb 7 19:53:09 2014 UTC revision 2953 by schoenebeck, Sat Jul 16 11:24:39 2016 UTC
# Line 1  Line 1 
1  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
2  # LinuxSampler's / liblinuxsampler's "official" release version:  # LinuxSampler's / liblinuxsampler's "official" release version:
3    
4  m4_define(linuxsampler_release_major, 1)  m4_define(linuxsampler_release_major, 2)
5  m4_define(linuxsampler_release_minor, 0)  m4_define(linuxsampler_release_minor, 0)
6  m4_define(linuxsampler_release_build, 0.svn30)  m4_define(linuxsampler_release_build, 0.svn19)
7    
8    
9  AC_INIT([linuxsampler],[linuxsampler_release_major.linuxsampler_release_minor.linuxsampler_release_build])  AC_INIT([linuxsampler],[linuxsampler_release_major.linuxsampler_release_minor.linuxsampler_release_build])
# Line 26  AC_CONFIG_SRCDIR([configure.ac]) Line 26  AC_CONFIG_SRCDIR([configure.ac])
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  LIBLINUXSAMPLER_LT_CURRENT=3  LIBLINUXSAMPLER_LT_CURRENT=4
30  LIBLINUXSAMPLER_LT_REVISION=0  LIBLINUXSAMPLER_LT_REVISION=0
31  LIBLINUXSAMPLER_LT_AGE=0  LIBLINUXSAMPLER_LT_AGE=0
32  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE"  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE"
# Line 35  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT Line 35  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT
35  # the LSCP specification version this LinuSampler release complies with:  # the LSCP specification version this LinuSampler release complies with:
36    
37  LSCP_RELEASE_MAJOR=1  LSCP_RELEASE_MAJOR=1
38  LSCP_RELEASE_MINOR=6  LSCP_RELEASE_MINOR=7
39    
40  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.])  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.])
41  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.])  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.])
42    
43    AM_INIT_AUTOMAKE([subdir-objects])
44    AC_PROG_CC
45  AC_PROG_CXX  AC_PROG_CXX
46  AC_LIBTOOL_WIN32_DLL  AC_LIBTOOL_WIN32_DLL
47  AC_PROG_LIBTOOL  AC_PROG_LIBTOOL
48    AC_PROG_LEX
49    AC_PROG_YACC
50    
51  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
52  AC_SUBST(SHARED_VERSION_INFO)  AC_SUBST(SHARED_VERSION_INFO)
# Line 177  else Line 181  else
181      echo "NPTL glibc bug check disabled"      echo "NPTL glibc bug check disabled"
182  fi  fi
183    
184  # FIXME: this is actually a dependency of libgig, not of LS directly, why  
185  # isn't it hidden by libgig?  # In case Bison is available, determine the exact version, since we need to
186  AC_CHECK_HEADERS(uuid/uuid.h)  # use different custom parser code for Bison 2.x vs. Bison 3.x generated
187  AC_SEARCH_LIBS(uuid_generate, uuid)  # parser yacc tables.
188    if echo "$YACC" | grep -q bison; then
189        # NOTE: m4 removes [], that's why it needs to be escaped
190        bison_version=[`$YACC --version | head -n 1 | sed -e 's/[^0-9.]*\([-0-9.]\+\)$/\1/'`]
191        bison_version_major=`echo $bison_version | cut -d. -f1`
192        bison_version_minor=`echo $bison_version | cut -d. -f2`
193        AC_DEFINE_UNQUOTED(HAVE_BISON_MAJ,$bison_version_major,[Define to the major version of the GNU Bison program installed.])
194        AC_DEFINE_UNQUOTED(HAVE_BISON_MIN,$bison_version_minor,[Define to the minor version of the GNU Bison program installed.])
195    fi
196    
197    
198    
# Line 517  AM_CONDITIONAL(HAVE_DSSI, test $config_h Line 529  AM_CONDITIONAL(HAVE_DSSI, test $config_h
529    
530  # LV2  # LV2
531  PKG_CHECK_MODULES(LV2, lv2 >= 1.0.0, config_have_lv2="yes", config_have_lv2="no")  PKG_CHECK_MODULES(LV2, lv2 >= 1.0.0, config_have_lv2="yes", config_have_lv2="no")
532    if test "$config_have_lv2" != "yes"; then
533        PKG_CHECK_MODULES(LV2, lv2core >= 1.0.0, config_have_lv2="yes", config_have_lv2="no")
534    fi
535  AC_SUBST(LV2_CFLAGS)  AC_SUBST(LV2_CFLAGS)
536  AC_SUBST(LV2_LIBS)  AC_SUBST(LV2_LIBS)
537  AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")  AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")
# Line 582  fi Line 597  fi
597  # Checks for various DLL libraries  # Checks for various DLL libraries
598    
599  # Check presence of libgig  # Check presence of libgig
600  libgig_version="3.3.0"  libgig_version="4.0.0"
601  PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false)  PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false)
602  if test "$HAVE_GIG" = "false"; then  if test "$HAVE_GIG" = "false"; then
603      echo "Required libgig version not found!"      echo "Required libgig version not found!"
# Line 1310  AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIAN Line 1325  AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIAN
1325  # Create Build Files  # Create Build Files
1326    
1327  AC_CONFIG_HEADERS([config.h])  AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE  
1328    
1329  AC_LANG([C++])  AC_LANG([C++])
1330    
# Line 1344  AC_CONFIG_FILES([\ Line 1358  AC_CONFIG_FILES([\
1358      src/hostplugins/lv2/manifest.ttl \      src/hostplugins/lv2/manifest.ttl \
1359      src/hostplugins/vst/Makefile \      src/hostplugins/vst/Makefile \
1360      src/hostplugins/au/Makefile \      src/hostplugins/au/Makefile \
1361        src/scriptvm/Makefile \
1362        src/scriptvm/editor/Makefile \
1363      src/shell/Makefile \      src/shell/Makefile \
1364      linuxsampler.spec \      linuxsampler.spec \
1365      debian/Makefile \      debian/Makefile \

Legend:
Removed from v.2517  
changed lines
  Added in v.2953

  ViewVC Help
Powered by ViewVC