[Groonga-commit] groonga/groonga [master] Add a workaround for Autoconf on CentOS 5

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 17日 (土) 23:06:32 JST


Kouhei Sutou	2012-03-17 23:06:32 +0900 (Sat, 17 Mar 2012)

  New Revision: 4d4bdba266d154f774fb4a3ff5af3378cb19e6c5

  Log:
    Add a workaround for Autoconf on CentOS 5

  Modified files:
    configure.ac

  Modified: configure.ac (+6 -0)
===================================================================
--- configure.ac    2012-03-17 23:04:49 +0900 (f06f581)
+++ configure.ac    2012-03-17 23:06:32 +0900 (e03c84e)
@@ -10,6 +10,12 @@ if test -z "${datarootdir}"; then
    AC_SUBST(datarootdir)
 fi
 
+# for Autoconf 2.59 or earlier.
+if test -z "${docdir}"; then
+   docdir="\${datarootdir}/doc/\${PACKAGE_TARNAME}"
+   AC_SUBST(docdir)
+fi
+
 AC_CANONICAL_HOST
 AC_DEFINE_UNQUOTED(HOST_CPU, ["$host_cpu"], [host CPU])
 AC_DEFINE_UNQUOTED(HOST_OS, ["$host_os"], [host OS])




Groonga-commit メーリングリストの案内
Back to archive index