From 9e741dd47487d9db5dc07208c96cd7bf13e908c8 Mon Sep 17 00:00:00 2001 From: Kamal Mostafa Date: Thu, 21 Mar 2013 13:08:35 -0700 Subject: [PATCH] minimodem-0.17.1-1 --- configure | 119 +++++++++++++++++++++++++++++++++++++++++------ configure.ac | 2 +- debian/changelog | 7 +++ 3 files changed, 114 insertions(+), 14 deletions(-) diff --git a/configure b/configure index b964fd7..9054fdc 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for minimodem 0.17. +# Generated by GNU Autoconf 2.69 for minimodem 0.17.1. # # Report bugs to . # @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='minimodem' PACKAGE_TARNAME='minimodem' -PACKAGE_VERSION='0.17' -PACKAGE_STRING='minimodem 0.17' +PACKAGE_VERSION='0.17.1' +PACKAGE_STRING='minimodem 0.17.1' PACKAGE_BUGREPORT='kamal@whence.com' PACKAGE_URL='' @@ -1234,7 +1234,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures minimodem 0.17 to adapt to many kinds of systems. +\`configure' configures minimodem 0.17.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1300,7 +1300,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of minimodem 0.17:";; + short | recursive ) echo "Configuration of minimodem 0.17.1:";; esac cat <<\_ACEOF @@ -1401,7 +1401,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -minimodem configure 0.17 +minimodem configure 0.17.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1452,11 +1452,57 @@ fi as_fn_set_status $ac_retval } # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by minimodem $as_me 0.17, which was +It was created by minimodem $as_me 0.17.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -1805,7 +1851,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -VERSION=0.17 +VERSION=0.17.1 am__api_version='1.11' @@ -2275,7 +2321,7 @@ fi # Define the identity of the package. PACKAGE='minimodem' - VERSION='0.17' + VERSION='0.17.1' cat >>confdefs.h <<_ACEOF @@ -3308,6 +3354,53 @@ fi # Configure dependency libs + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5 +$as_echo_n "checking for lroundf in -lm... " >&6; } +if ${ac_cv_lib_m_lroundf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char lroundf (); +int +main () +{ +return lroundf (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_lroundf=yes +else + ac_cv_lib_m_lroundf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5 +$as_echo "$ac_cv_lib_m_lroundf" >&6; } +if test "x$ac_cv_lib_m_lroundf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +fi + + # fftw3f deps_packages+=" fftw3f" @@ -3396,7 +3489,7 @@ _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: result: -minimodem 0.17 configuration summary: +minimodem 0.17.1 configuration summary: --with-pulseaudio $with_pulseaudio ($use_pulseaudio) --with-alsa $with_alsa ($use_alsa) --with-sndfile $with_sndfile ($use_sndfile) @@ -3404,7 +3497,7 @@ minimodem 0.17 configuration summary: deps_packages: $deps_packages " >&5 $as_echo " -minimodem 0.17 configuration summary: +minimodem 0.17.1 configuration summary: --with-pulseaudio $with_pulseaudio ($use_pulseaudio) --with-alsa $with_alsa ($use_alsa) --with-sndfile $with_sndfile ($use_sndfile) @@ -4164,7 +4257,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by minimodem $as_me 0.17, which was +This file was extended by minimodem $as_me 0.17.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4230,7 +4323,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -minimodem config.status 0.17 +minimodem config.status 0.17.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 306c9f2..f17f7e2 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl configure.ac Generated by project-setup dnl AC_DEFUN([PKG_NAME], [minimodem]) -AC_DEFUN([PKG_VERSION], [0.17]) +AC_DEFUN([PKG_VERSION], [0.17.1]) AC_DEFUN([PKG_AUTHOR], [Kamal Mostafa ]) AC_DEFUN([PKG_BUGS_TO], [kamal@whence.com]) diff --git a/debian/changelog b/debian/changelog index f9ac313..15a6053 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +minimodem (0.17.1-1) unstable; urgency=low + + * (portability) link with -lm explicitly + - unbreaks Ubuntu 13.04 build. + + -- Kamal Mostafa Thu, 21 Mar 2013 13:06:42 -0700 + minimodem (0.17-1) unstable; urgency=low * handle arbitrary --startbits N