/[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 2594 by schoenebeck, Thu Jun 5 00:16:25 2014 UTC revision 3452 by schoenebeck, Thu Jan 3 12:08:48 2019 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, 1)
6  m4_define(linuxsampler_release_build, 0.svn42)  m4_define(linuxsampler_release_build, 0.svn4)
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=5
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.])
# Line 152  CFLAGS="$CFLAGS $PTHREAD_CFLAGS" Line 152  CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
152  CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"  CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
153  CC="$PTHREAD_CC"  CC="$PTHREAD_CC"
154    
155    
156    # check for compiler's pragma diagnostic capabilities
157    m4_ifdef([m4_include(m4/pragma_diagnostics.m4)],,
158                 [sinclude([m4/pragma_diagnostics.m4])])
159    ACX_CXX_PRAGMA_DIAGNOSTICS
160    
161    
162  # check for a bug in NPTL-enabled glibc  # check for a bug in NPTL-enabled glibc
163  # (see Gentoo bug report #194076)  # (see Gentoo bug report #194076)
164  AC_ARG_ENABLE(nptl-bug-check,  AC_ARG_ENABLE(nptl-bug-check,
# Line 181  else Line 188  else
188      echo "NPTL glibc bug check disabled"      echo "NPTL glibc bug check disabled"
189  fi  fi
190    
 # FIXME: this is actually a dependency of libgig, not of LS directly, why  
 # isn't it hidden by libgig?  
 AC_CHECK_HEADERS(uuid/uuid.h)  
 AC_SEARCH_LIBS(uuid_generate, uuid)  
191    
192  # In case Bison is available, determine the exact version, since we need to  # In case Bison is available, determine the exact version, since we need to
193  # use different custom parser code for Bison 2.x vs. Bison 3.x generated  # use different custom parser code for Bison 2.x vs. Bison 3.x generated
# Line 533  AM_CONDITIONAL(HAVE_DSSI, test $config_h Line 536  AM_CONDITIONAL(HAVE_DSSI, test $config_h
536    
537  # LV2  # LV2
538  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")
539    if test "$config_have_lv2" != "yes"; then
540        PKG_CHECK_MODULES(LV2, lv2core >= 1.0.0, config_have_lv2="yes", config_have_lv2="no")
541    fi
542  AC_SUBST(LV2_CFLAGS)  AC_SUBST(LV2_CFLAGS)
543  AC_SUBST(LV2_LIBS)  AC_SUBST(LV2_LIBS)
544  AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")  AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")
# Line 598  fi Line 604  fi
604  # Checks for various DLL libraries  # Checks for various DLL libraries
605    
606  # Check presence of libgig  # Check presence of libgig
607  libgig_version="3.3.0"  libgig_version="4.1.0"
608  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)
609  if test "$HAVE_GIG" = "false"; then  if test "$HAVE_GIG" = "false"; then
610      echo "Required libgig version not found!"      echo "Required libgig version not found!"
# Line 1360  AC_CONFIG_FILES([\ Line 1366  AC_CONFIG_FILES([\
1366      src/hostplugins/vst/Makefile \      src/hostplugins/vst/Makefile \
1367      src/hostplugins/au/Makefile \      src/hostplugins/au/Makefile \
1368      src/scriptvm/Makefile \      src/scriptvm/Makefile \
1369        src/scriptvm/editor/Makefile \
1370      src/shell/Makefile \      src/shell/Makefile \
1371      linuxsampler.spec \      linuxsampler.spec \
1372      debian/Makefile \      debian/Makefile \

Legend:
Removed from v.2594  
changed lines
  Added in v.3452

  ViewVC Help
Powered by ViewVC