[Groonga-commit] groonga/groonga [master] support Autoconf 2.60 earlier. #833

Back to archive index

null+****@clear***** null+****@clear*****
2011年 2月 8日 (火) 18:10:20 JST


Kouhei Sutou	2011-02-08 09:10:20 +0000 (Tue, 08 Feb 2011)

  New Revision: 0d6a15382e8c93e8bc55d2efa8eee82fc0351098

  Log:
    support Autoconf 2.60 earlier. #833

  Modified files:
    configure.ac

  Modified: configure.ac (+6 -0)
===================================================================
--- configure.ac    2011-02-08 08:26:37 +0000 (9c6ab53)
+++ configure.ac    2011-02-08 09:10:20 +0000 (f1a8abe)
@@ -4,6 +4,12 @@ AM_CONFIG_HEADER(config.h)
 
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 
+# for Autoconf 2.60 earlier.
+if test -z "${datarootdir}"; then
+   datarootdir="\${prefix}/share"
+   AC_SUBST(datarootdir)
+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