gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-81-g57fe811


From: Juergen Kahrs
Subject: [gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-81-g57fe811
Date: Sun, 12 May 2013 13:32:14 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, cmake has been updated
       via  57fe811dd036e276abd30eed3aac135df7e362ab (commit)
      from  df80d9b911fcfff4c9e2da2d6a820f074108f696 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=57fe811dd036e276abd30eed3aac135df7e362ab

commit 57fe811dd036e276abd30eed3aac135df7e362ab
Author: Juergen Kahrs <address@hidden>
Date:   Sun May 12 15:31:28 2013 +0200

    HAVE_LIBREADLINE is now detected and used.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c55321e..ef31f39 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,9 @@ set (EXTRA_LIBS "")
 if (${HAVE_MPFR})
   set (EXTRA_LIBS ${EXTRA_LIBS} mpfr gmp)
 endif ()
+if (${HAVE_LIBREADLINE})
+  set (EXTRA_LIBS ${EXTRA_LIBS} readline)
+endif ()
 if (${DYNAMIC})
   set (EXTRA_LIBS ${EXTRA_LIBS} ${CMAKE_DL_LIBS} )
 endif ()
diff --git a/cmake/configure.cmake b/cmake/configure.cmake
index c8ab206..6ff1999 100644
--- a/cmake/configure.cmake
+++ b/cmake/configure.cmake
@@ -284,6 +284,7 @@ include(GetPrerequisites)
 DefineLibraryIfAvailable(m    sin         "" HAVE_LIBM)
 DefineLibraryIfAvailable(mpfr mpfr_add_si "" HAVE_MPFR)
 DefineLibraryIfAvailable(c    socket      "" HAVE_SOCKETS)
+DefineLibraryIfAvailable(readline readline    "" HAVE_LIBREADLINE)
 DefineFunctionIfAvailable(fnmatch HAVE_FNMATCH)
 DefineHFileIfAvailable(fnmatch.h HAVE_FNMATCH_H)
 DefineHFileIfAvailable(dirent.h HAVE_DIRENT_H)

-----------------------------------------------------------------------

Summary of changes:
 CMakeLists.txt        |    3 +++
 cmake/configure.cmake |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]