[Pkg-wmaker-commits] [wmfire] 14/61: Bump to version 1.2.4.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 03:38:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmfire.

commit f3d5177e35b43ed14c1d06f6e1fc260fe98ea4fd
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Wed Jan 14 22:39:52 2015 -0600

    Bump to version 1.2.4.
    
    Tarball obtained from [1].
    
    [1] http://www.swanson.ukfsn.org/wmfire/wmfire-1.2.4.tar.gz
---
 ChangeLog    |  5 ++++
 configure    | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 configure.in |  3 ++-
 3 files changed, 85 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b7baa93..622c0be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Changes upto version 1.2.4:
+--------------------------
+
+o Fix linking math library with --no-add-needed or --as-needed
+
 Changes upto version 1.2.3:
 --------------------------
 
diff --git a/configure b/configure
index 3d987b2..b47e672 100755
--- a/configure
+++ b/configure
@@ -719,13 +719,13 @@ echo X"$0" |
   	  /^X\(\/\).*/{ s//\1/; q; }
   	  s/.*/./; q'`
   srcdir=$ac_confdir
-  if test ! -r $srcdir/$ac_unique_file; then
+  if test ! -r "$srcdir/$ac_unique_file"; then
     srcdir=..
   fi
 else
   ac_srcdir_defaulted=no
 fi
-if test ! -r $srcdir/$ac_unique_file; then
+if test ! -r "$srcdir/$ac_unique_file"; then
   if test "$ac_srcdir_defaulted" = yes; then
     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    { (exit 1); exit 1; }; }
@@ -734,7 +734,7 @@ if test ! -r $srcdir/$ac_unique_file; then
    { (exit 1); exit 1; }; }
   fi
 fi
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
+(cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    { (exit 1); exit 1; }; }
 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
@@ -1616,7 +1616,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=wmfire
- VERSION=1.2.3
+ VERSION=1.2.4
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3589,6 +3589,80 @@ _ACEOF
 fi
 
 
+echo "$as_me:$LINENO: checking for sincos in -lm" >&5
+echo $ECHO_N "checking for sincos in -lm... $ECHO_C" >&6
+if test "${ac_cv_lib_m_sincos+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char sincos ();
+int
+main ()
+{
+sincos ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_m_sincos=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_m_sincos=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+      conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_m_sincos" >&5
+echo "${ECHO_T}$ac_cv_lib_m_sincos" >&6
+if test $ac_cv_lib_m_sincos = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBM 1
+_ACEOF
+
+  LIBS="-lm $LIBS"
+
+fi
+
+
 
 
 
diff --git a/configure.in b/configure.in
index e0f18bc..0f80fea 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
 AC_INIT(src/wmfire.c)
 
-AM_INIT_AUTOMAKE(wmfire, 1.2.3)
+AM_INIT_AUTOMAKE(wmfire, 1.2.4)
 
 AC_PROG_AWK
 AC_PROG_CC
@@ -10,6 +10,7 @@ AC_PROG_LN_S
 AC_PATH_X
 AC_CHECK_LIB(X11, main)
 AC_CHECK_LIB(Xext, main)
+AC_CHECK_LIB(m,sincos)
 
 AC_HEADER_DIRENT
 AC_HEADER_STDC

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfire.git



More information about the Pkg-wmaker-commits mailing list