/[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 2510 by schoenebeck, Thu Jan 23 04:00:26 2014 UTC revision 2521 by schoenebeck, Wed Feb 19 19:02:43 2014 UTC
# Line 3  Line 3 
3    
4  m4_define(linuxsampler_release_major, 1)  m4_define(linuxsampler_release_major, 1)
5  m4_define(linuxsampler_release_minor, 0)  m4_define(linuxsampler_release_minor, 0)
6  m4_define(linuxsampler_release_build, 0.svn26)  m4_define(linuxsampler_release_build, 0.svn32)
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 43  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, $ Line 43  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, $
43  AC_PROG_CXX  AC_PROG_CXX
44  AC_LIBTOOL_WIN32_DLL  AC_LIBTOOL_WIN32_DLL
45  AC_PROG_LIBTOOL  AC_PROG_LIBTOOL
46    AC_PROG_YACC
47    
48  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
49  AC_SUBST(SHARED_VERSION_INFO)  AC_SUBST(SHARED_VERSION_INFO)
# Line 182  fi Line 183  fi
183  AC_CHECK_HEADERS(uuid/uuid.h)  AC_CHECK_HEADERS(uuid/uuid.h)
184  AC_SEARCH_LIBS(uuid_generate, uuid)  AC_SEARCH_LIBS(uuid_generate, uuid)
185    
186    # In case Bison is available, determine the exact version, since we need to
187    # use different custom parser code for Bison 2.x vs. Bison 3.x generated
188    # parser yacc tables.
189    if echo "$YACC" | grep -q bison; then
190        # NOTE: m4 removes [], that's why it needs to be escaped
191        bison_version=[`$YACC --version | head -n 1 | sed -e 's/[^0-9.]*\([-0-9.]\+\)$/\1/'`]
192        bison_version_major=`echo $bison_version | cut -d. -f1`
193        bison_version_minor=`echo $bison_version | cut -d. -f2`
194        AC_DEFINE_UNQUOTED(HAVE_BISON_MAJ,$bison_version_major,[Define to the major version of the GNU Bison program installed.])
195        AC_DEFINE_UNQUOTED(HAVE_BISON_MIN,$bison_version_minor,[Define to the minor version of the GNU Bison program installed.])
196    fi
197    
198    
199    
200  ###########################################################################  ###########################################################################
# Line 1310  AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIAN Line 1323  AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIAN
1323  # Create Build Files  # Create Build Files
1324    
1325  AC_CONFIG_HEADERS([config.h])  AC_CONFIG_HEADERS([config.h])
1326  AM_INIT_AUTOMAKE  AM_INIT_AUTOMAKE([subdir-objects])
1327    
1328  AC_LANG([C++])  AC_LANG([C++])
1329    
# Line 1322  AC_CONFIG_FILES([\ Line 1335  AC_CONFIG_FILES([\
1335      Makefile \      Makefile \
1336      man/Makefile \      man/Makefile \
1337      man/linuxsampler.1 \      man/linuxsampler.1 \
1338        man/lscp.1 \
1339      src/Makefile \      src/Makefile \
1340      src/db/Makefile \      src/db/Makefile \
1341      src/network/Makefile \      src/network/Makefile \
# Line 1343  AC_CONFIG_FILES([\ Line 1357  AC_CONFIG_FILES([\
1357      src/hostplugins/lv2/manifest.ttl \      src/hostplugins/lv2/manifest.ttl \
1358      src/hostplugins/vst/Makefile \      src/hostplugins/vst/Makefile \
1359      src/hostplugins/au/Makefile \      src/hostplugins/au/Makefile \
1360        src/shell/Makefile \
1361      linuxsampler.spec \      linuxsampler.spec \
1362      debian/Makefile \      debian/Makefile \
1363      Artwork/Makefile \      Artwork/Makefile \

Legend:
Removed from v.2510  
changed lines
  Added in v.2521

  ViewVC Help
Powered by ViewVC