comparison src/auto/configure @ 2077:d8983769c9dd v7.2.361

updated for version 7.2.361 Problem: Ruby 1.9 is not supported. Solution: Add Ruby 1.9 support. (Msaki Suketa)
author Bram Moolenaar <bram@zimbu.org>
date Wed, 17 Feb 2010 16:23:09 +0100
parents 966289a3dd7e
children 3112fcc89238
comparison
equal deleted inserted replaced
2076:1c7a66d820e4 2077:d8983769c9dd
791 enable_pythoninterp 791 enable_pythoninterp
792 with_python_config_dir 792 with_python_config_dir
793 enable_tclinterp 793 enable_tclinterp
794 with_tclsh 794 with_tclsh
795 enable_rubyinterp 795 enable_rubyinterp
796 with_ruby_command
796 enable_cscope 797 enable_cscope
797 enable_workshop 798 enable_workshop
798 enable_netbeans 799 enable_netbeans
799 enable_sniff 800 enable_sniff
800 enable_multibyte 801 enable_multibyte
1501 --with-features=TYPE tiny, small, normal, big or huge (default: normal) 1502 --with-features=TYPE tiny, small, normal, big or huge (default: normal)
1502 --with-compiledby=NAME name to show in :version message 1503 --with-compiledby=NAME name to show in :version message
1503 --with-plthome=PLTHOME Use PLTHOME. 1504 --with-plthome=PLTHOME Use PLTHOME.
1504 --with-python-config-dir=PATH Python's config directory 1505 --with-python-config-dir=PATH Python's config directory
1505 --with-tclsh=PATH which tclsh to use (default: tclsh8.0) 1506 --with-tclsh=PATH which tclsh to use (default: tclsh8.0)
1507 --with-ruby-command=RUBY name of the Ruby command (default: ruby)
1506 --with-x use the X Window System 1508 --with-x use the X Window System
1507 --with-gtk-prefix=PFX Prefix where GTK is installed (optional) 1509 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1508 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) 1510 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1509 --with-gnome-includes=DIR Specify location of GNOME headers 1511 --with-gnome-includes=DIR Specify location of GNOME headers
1510 --with-gnome-libs=DIR Specify location of GNOME libs 1512 --with-gnome-libs=DIR Specify location of GNOME libs
5701 fi 5703 fi
5702 5704
5703 { $as_echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5 5705 { $as_echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
5704 $as_echo "$enable_rubyinterp" >&6; } 5706 $as_echo "$enable_rubyinterp" >&6; }
5705 if test "$enable_rubyinterp" = "yes"; then 5707 if test "$enable_rubyinterp" = "yes"; then
5706 5708 { $as_echo "$as_me:$LINENO: checking --with-ruby-command argument" >&5
5707 # Extract the first word of "ruby", so it can be a program name with args. 5709 $as_echo_n "checking --with-ruby-command argument... " >&6; }
5708 set dummy ruby; ac_word=$2 5710
5711 # Check whether --with-ruby-command was given.
5712 if test "${with_ruby_command+set}" = set; then
5713 withval=$with_ruby_command; RUBY_CMD="$withval"; { $as_echo "$as_me:$LINENO: result: $RUBY_CMD" >&5
5714 $as_echo "$RUBY_CMD" >&6; }
5715 else
5716 RUBY_CMD="ruby"; { $as_echo "$as_me:$LINENO: result: defaulting to $RUBY_CMD" >&5
5717 $as_echo "defaulting to $RUBY_CMD" >&6; }
5718 fi
5719
5720
5721 # Extract the first word of "$RUBY_CMD", so it can be a program name with args.
5722 set dummy $RUBY_CMD; ac_word=$2
5709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; } 5724 $as_echo_n "checking for $ac_word... " >&6; }
5711 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then 5725 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
5712 $as_echo_n "(cached) " >&6 5726 $as_echo_n "(cached) " >&6
5713 else 5727 else
5750 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then 5764 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
5751 { $as_echo "$as_me:$LINENO: result: OK" >&5 5765 { $as_echo "$as_me:$LINENO: result: OK" >&5
5752 $as_echo "OK" >&6; } 5766 $as_echo "OK" >&6; }
5753 { $as_echo "$as_me:$LINENO: checking Ruby header files" >&5 5767 { $as_echo "$as_me:$LINENO: checking Ruby header files" >&5
5754 $as_echo_n "checking Ruby header files... " >&6; } 5768 $as_echo_n "checking Ruby header files... " >&6; }
5755 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` 5769 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["rubyhdrdir"] || Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null`
5756 if test "X$rubyhdrdir" != "X"; then 5770 if test "X$rubyhdrdir" != "X"; then
5757 { $as_echo "$as_me:$LINENO: result: $rubyhdrdir" >&5 5771 { $as_echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
5758 $as_echo "$rubyhdrdir" >&6; } 5772 $as_echo "$rubyhdrdir" >&6; }
5759 RUBY_CFLAGS="-I$rubyhdrdir" 5773 RUBY_CFLAGS="-I$rubyhdrdir"
5774 rubyarch=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["arch"]'`
5775 if test -d "$rubyhdrdir/$rubyarch"; then
5776 RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
5777 fi
5778 rubyversion=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["ruby_version"].gsub(/\./, "")[0,2]'`
5779 RUBY_CFLAGS="$RUBY_CFLAGS -DRUBY_VERSION=$rubyversion"
5760 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` 5780 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'`
5761 if test "X$rubylibs" != "X"; then 5781 if test "X$rubylibs" != "X"; then
5762 RUBY_LIBS="$rubylibs" 5782 RUBY_LIBS="$rubylibs"
5763 fi 5783 fi
5764 librubyarg=`$vi_cv_path_ruby -r rbconfig -e 'print Config.expand(Config::CONFIG["LIBRUBYARG"])'` 5784 librubyarg=`$vi_cv_path_ruby -r rbconfig -e 'print Config.expand(Config::CONFIG["LIBRUBYARG"])'`
5791 cat >>confdefs.h <<\_ACEOF 5811 cat >>confdefs.h <<\_ACEOF
5792 #define FEAT_RUBY 1 5812 #define FEAT_RUBY 1
5793 _ACEOF 5813 _ACEOF
5794 5814
5795 else 5815 else
5796 { $as_echo "$as_me:$LINENO: result: not found" >&5 5816 { $as_echo "$as_me:$LINENO: result: not found; disabling Ruby" >&5
5797 $as_echo "not found" >&6; } 5817 $as_echo "not found; disabling Ruby" >&6; }
5798 fi 5818 fi
5799 else 5819 else
5800 { $as_echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5 5820 { $as_echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
5801 $as_echo "too old; need Ruby version 1.6.0 or later" >&6; } 5821 $as_echo "too old; need Ruby version 1.6.0 or later" >&6; }
5802 fi 5822 fi