"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
libtimidity-0.2.6.tar.gz and libtimidity-0.2.7.tar.gz

About: libTiMidity is a MIDI to WAVE converter library that uses Gravis Ultrasound-compatible patch files to generate digital audio data from General MIDI files.

configure.ac  (libtimidity-0.2.6):configure.ac  (libtimidity-0.2.7)
# -*- Autoconf -*- # -*- Autoconf -*-
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_INIT([libtimidity],[0.2.6]) AC_INIT([libtimidity],[0.2.7])
LIBTIMIDITY_MAJOR_VERSION=0 LIBTIMIDITY_MAJOR_VERSION=0
LIBTIMIDITY_MINOR_VERSION=2 LIBTIMIDITY_MINOR_VERSION=2
LIBTIMIDITY_MICRO_VERSION=6 LIBTIMIDITY_MICRO_VERSION=7
LIBTIMIDITY_VERSION=$LIBTIMIDITY_MAJOR_VERSION.$LIBTIMIDITY_MINOR_VERSION.$LIBTI MIDITY_MICRO_VERSION LIBTIMIDITY_VERSION=$LIBTIMIDITY_MAJOR_VERSION.$LIBTIMIDITY_MINOR_VERSION.$LIBTI MIDITY_MICRO_VERSION
AC_CONFIG_AUX_DIR([autotools]) AC_CONFIG_AUX_DIR([autotools])
AC_CONFIG_SRCDIR([src/playmidi.c])
AM_INIT_AUTOMAKE([1.7 foreign]) AM_INIT_AUTOMAKE([1.7 foreign])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/playmidi.c])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
# Library versioning for libtool: CURRENT, REVISION, AGE # Library versioning for libtool: CURRENT, REVISION, AGE
# - library source changed -> increment REVISION # - library source changed -> increment REVISION
# - interfaces added/removed/changed -> increment CURRENT, REVISION = 0 # - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
# - interfaces added -> increment AGE # - interfaces added -> increment AGE
# - interfaces removed -> AGE = 0 # - interfaces removed -> AGE = 0
LIBTIMIDITY_LT_CURRENT=2 LIBTIMIDITY_LT_CURRENT=2
LIBTIMIDITY_LT_REVISION=1 LIBTIMIDITY_LT_REVISION=1
LIBTIMIDITY_LT_AGE=0 LIBTIMIDITY_LT_AGE=0
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_ARG_ENABLE([debug],[AS_HELP_STRING([--enable-debug],[enable debug mode [defau lt=no]])],,[enable_debug=no]) AC_ARG_ENABLE([debug],[AS_HELP_STRING([--enable-debug],[enable debug mode [defau lt=no]])],,[enable_debug=no])
if test x$enable_debug = xyes if test x$enable_debug = xyes
then then
AC_DEFINE([TIMIDITY_DEBUG], 1, [Debug mode]) AC_DEFINE([TIMIDITY_DEBUG], 1, [Debug mode])
fi fi
AC_ARG_WITH([timidity-cfg], AS_HELP_STRING([--with-timidity-cfg=FILE], [Specify the full path to timidity.cfg [default="timidity.cfg"]]), AC_ARG_WITH([timidity-cfg],[AS_HELP_STRING([--with-timidity-cfg=FILE],[Specify t he full path to timidity.cfg [default="timidity.cfg"]])],
timidity_cfg="$withval", timidity_cfg="timidity.cfg") timidity_cfg="$withval", timidity_cfg="timidity.cfg")
if test x$timidity_cfg = xyes || test x$timidity_cfg = xno if test x$timidity_cfg = xyes || test x$timidity_cfg = xno
then then
timidity_cfg="timidity.cfg" timidity_cfg="timidity.cfg"
fi fi
AC_DEFINE_UNQUOTED(TIMIDITY_CFG, "$timidity_cfg", [Define the full path of timid ity.cfg]) AC_DEFINE_UNQUOTED(TIMIDITY_CFG, "$timidity_cfg", [Define the full path of timid ity.cfg])
# Checks for programs. # Checks for programs.
AC_PROG_CC AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_LN_S AC_PROG_LN_S
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
#LT_INIT([win32-dll]) dnl AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_WIN32_DLL dnl AC_PROG_LIBTOOL
AC_PROG_LIBTOOL LT_INIT([win32-dll])
if test $ac_cv_prog_gcc = yes if test $ac_cv_c_compiler_gnu = yes
then then
CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wall"
fi fi
# Checks for libraries. # Checks for libraries.
LIBTIMIDITY_LIBS="" LIBTIMIDITY_LIBS=""
AC_CHECK_LIB([m], [pow], [LIBTIMIDITY_LIBS="$LIBTIMIDITY_LIBS -lm"]) use_libm=no
old_LIBS="${LIBS}"
AC_CHECK_LIB([m], [pow], [use_libm=yes])
dnl -lm not needed with darwin and mingw.
case "${host_os}" in
darwin*|mingw*)
use_libm=no
LIBS="${old_LIBS}"
;;
esac
if test $use_libm = yes
then
LIBTIMIDITY_LIBS="-lm"
fi
have_ao=no have_ao=no
AC_ARG_ENABLE([ao],[AS_HELP_STRING([--disable-ao],[disable building libao-depend ing programs])],,[enable_ao=yes]) AC_ARG_ENABLE([ao],[AS_HELP_STRING([--disable-ao],[disable building libao-depend ing programs])],,[enable_ao=yes])
if test x$enable_ao = xyes if test x$enable_ao = xyes
then then
XIPH_PATH_AO([have_ao=yes]) XIPH_PATH_AO([have_ao=yes])
fi fi
AM_CONDITIONAL([HAVE_AO], [test $have_ao = yes]) AM_CONDITIONAL([HAVE_AO], [test $have_ao = yes])
# Checks for header files. # Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h stdio.h string.h sys/param.h unistd.h math.h]) AC_CHECK_HEADERS([stdlib.h stdio.h string.h sys/param.h unistd.h math.h])
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE AC_C_INLINE
AC_C_CONST AC_C_CONST
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
AC_C_BIGENDIAN AC_C_BIGENDIAN
# Checks for library functions.
#AC_FUNC_MALLOC
#AC_FUNC_MEMCMP
#AC_CHECK_FUNCS([memset pow strchr])
# symbol visibility # symbol visibility
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden -Werror" CFLAGS="$CFLAGS -fvisibility=hidden -Werror"
AC_CACHE_CHECK([if compiler supports visibility attributes],[libtimidity_cv_gcc_ visibility], AC_CACHE_CHECK([if compiler supports visibility attributes],[libtimidity_cv_gcc_ visibility],
AC_LANG_SAVE AC_LANG_PUSH([C])
AC_LANG_C
AC_TRY_COMPILE([void foo(void); AC_TRY_COMPILE([void foo(void);
__attribute__((visibility("default"))) void foo(void) {}], __attribute__((visibility("default"))) void foo(void) {}],
[], [],
[libtimidity_cv_gcc_visibility=yes], [libtimidity_cv_gcc_visibility=yes],
[libtimidity_cv_gcc_visibility=no]) [libtimidity_cv_gcc_visibility=no])
AC_LANG_RESTORE) AC_LANG_POP([C]))
# we want symbol -fvisibility for elf targets, however it works # we want symbol -fvisibility for elf targets, however it works
# with darwin/macho too. other than that, windows, dos, os/2, amiga # with darwin/macho too. other than that, windows, dos, os/2, amiga
# do not need it: for any such targets, the -Werror switch is # do not need it: for any such targets, the -Werror switch is
# supposed to fail the above check. (I'm adding the manual test # supposed to fail the above check. (I'm adding the manual test
# below nonetheless, just in case.) # below nonetheless, just in case.)
case $host_os in case $host_os in
mingw*|cygwin*|emx*|*djgpp|amigaos*|aros*|morphos*) mingw*|cygwin*|emx*|*djgpp|amigaos*|aros*|morphos*)
libtimidity_cv_gcc_visibility=no libtimidity_cv_gcc_visibility=no
;; ;;
esac esac
 End of changes. 11 change blocks. 
17 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)