[Groonga-commit] groonga/groonga [master] Add Homebrew related aclocal options by default on Mac OS X

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 2日 (月) 18:43:29 JST


Kouhei Sutou	2012-07-02 18:43:29 +0900 (Mon, 02 Jul 2012)

  New Revision: 8c6f23f0134bef52d0a3a6c2c3e0f2ce3e17af0b
  https://github.com/groonga/groonga/commit/8c6f23f0134bef52d0a3a6c2c3e0f2ce3e17af0b

  Log:
    Add Homebrew related aclocal options by default on Mac OS X

  Modified files:
    autogen.sh

  Modified: autogen.sh (+8 -0)
===================================================================
--- autogen.sh    2012-07-02 12:03:28 +0900 (c81bf55)
+++ autogen.sh    2012-07-02 18:43:29 +0900 (6a1836a)
@@ -14,6 +14,14 @@ AUTOMAKE=automake
 
 case `uname -s` in
 Darwin)
+        homebrew_aclocal=/usr/local/share/aclocal
+        if [ -d $homebrew_aclocal ]; then
+          ACLOCAL_ARGS="$ACLOCAL_ARGS -I $homebrew_aclocal"
+        fi
+        gettext_aclocal="$(echo /usr/local/Cellar/gettext/*/share/aclocal)"
+        if [ -d $gettext_aclocal ]; then
+          ACLOCAL_ARGS="$ACLOCAL_ARGS -I $gettext_aclocal"
+        fi
 	LIBTOOLIZE=glibtoolize
 	;;
 FreeBSD)
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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