[Groonga-commit] groonga/groonga [master] httpd: check abs_top_srcdir availability

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jan 17 12:10:01 JST 2013


Kouhei Sutou	2013-01-17 12:10:01 +0900 (Thu, 17 Jan 2013)

  New Revision: fd920ce2407a7985abb4e82d40f4139a1ff1f9ed
  https://github.com/groonga/groonga/commit/fd920ce2407a7985abb4e82d40f4139a1ff1f9ed

  Log:
    httpd: check abs_top_srcdir availability
    
    Because abs_top_srcdir isn't available on old Automake.
    (e.g.: automake 1.9.6 on CentOS 5.4.)

  Modified files:
    src/httpd/configure

  Modified: src/httpd/configure (+1 -1)
===================================================================
--- src/httpd/configure    2013-01-17 12:06:57 +0900 (af36bd2)
+++ src/httpd/configure    2013-01-17 12:10:01 +0900 (5998ef5)
@@ -24,7 +24,7 @@ if [ "${found_libdir_in_search_path}" = "no" ]; then
   export GROONGA_HTTPD_RPATH="${libdir}"
 fi
 
-if [ "${abs_top_srcdir}/src/httpd" != "$(pwd)" ]; then
+if [ -n "${abs_top_srcdir}" -a "${abs_top_srcdir}/src/httpd" != "$(pwd)" ]; then
   nginx_directory_in_build_directory="${abs_top_builddir}/${nginx_directory}"
   rm -rf "${nginx_directory_in_build_directory}"
   cp -rp \
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index