mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
autogen.sh, configure.ac : Minor tweaks.
This commit is contained in:
parent
3fde335b5b
commit
c300da31f3
@ -1,3 +1,11 @@
|
||||
2008-04-17
|
||||
|
||||
* src/VORBIS/lib/codebook.c
|
||||
Sync from upstream SVN.
|
||||
|
||||
* autogen.sh configure.ac
|
||||
Minor tweaks.
|
||||
|
||||
2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/ogg.c
|
||||
|
@ -2,10 +2,10 @@
|
||||
# Run this to set up the build system: configure, makefiles, etc.
|
||||
# (based on the version in enlightenment's cvs)
|
||||
|
||||
ACLOCAL_FLAGS="-I M4"
|
||||
|
||||
package="libsndfile"
|
||||
|
||||
ACLOCAL_FLAGS="-I M4"
|
||||
|
||||
olddir=`pwd`
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
@ -127,6 +127,3 @@ autoconf || exit 1
|
||||
|
||||
cd $olddir
|
||||
$srcdir/configure --enable-maintainer-mode --enable-gcc-werror "$@" && echo
|
||||
|
||||
(cd src && make genfiles)
|
||||
(cd tests && make genfiles)
|
||||
|
23
configure.ac
23
configure.ac
@ -11,6 +11,8 @@ AC_CONFIG_AUX_DIR(Cfg)
|
||||
AC_CONFIG_SRCDIR([src/sndfile.c])
|
||||
AC_CANONICAL_TARGET([])
|
||||
|
||||
AC_CONFIG_MACRO_DIR([M4])
|
||||
|
||||
AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
|
||||
AC_CONFIG_HEADERS([src/config.h])
|
||||
|
||||
@ -250,22 +252,8 @@ AC_CHECK_FUNCS(setlocale)
|
||||
AC_CHECK_LIB([m],floor)
|
||||
AC_CHECK_FUNCS(floor ceil fmod)
|
||||
|
||||
case "$host_os" in
|
||||
cygwin*)
|
||||
AC_MSG_WARN([[Not using built-in lrint() and lrintf() because they are broken on Cygwin.]])
|
||||
;;
|
||||
*)
|
||||
AC_C99_FUNC_LRINT
|
||||
AC_C99_FUNC_LRINTF
|
||||
|
||||
if test "x$ac_cv_c99_lrint" = "xno" ; then
|
||||
if test "x$ac_cv_c99_lrintf" = "xno" ; then
|
||||
AC_MSG_WARN([[*** Missing C99 standard functions lrint() and lrintf().]])
|
||||
AC_MSG_WARN([[*** This may cause benign compiler warnings on some systems (ie Solaris).]])
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
AC_C99_FUNC_LRINT
|
||||
AC_C99_FUNC_LRINTF
|
||||
|
||||
#====================================================================================
|
||||
# Check for requirements for building plugins for other languages/enviroments.
|
||||
@ -734,3 +722,6 @@ for f in "src/FLAC/src/libFLAC/Makefile" ; do
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
(cd src && make genfiles)
|
||||
(cd tests && make genfiles)
|
||||
|
Loading…
Reference in New Issue
Block a user