Mercurial > vim
comparison src/auto/configure @ 692:a28f83d37113
updated for version 7.0208
author | vimboss |
---|---|
date | Mon, 27 Feb 2006 00:08:02 +0000 |
parents | d7e33248b9c8 |
children | f08390485cd3 |
comparison
equal
deleted
inserted
replaced
691:8106f3da02d0 | 692:a28f83d37113 |
---|---|
874 --disable-nls Don't support NLS (gettext()). | 874 --disable-nls Don't support NLS (gettext()). |
875 | 875 |
876 Optional Packages: | 876 Optional Packages: |
877 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 877 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
878 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 878 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
879 --with-mac-arch=ARCH intel, ppc or both | |
879 --with-vim-name=NAME what to call the Vim executable | 880 --with-vim-name=NAME what to call the Vim executable |
880 --with-ex-name=NAME what to call the Ex executable | 881 --with-ex-name=NAME what to call the Ex executable |
881 --with-view-name=NAME what to call the View executable | 882 --with-view-name=NAME what to call the View executable |
882 --with-global-runtime=DIR global runtime directory in 'runtimepath' | 883 --with-global-runtime=DIR global runtime directory in 'runtimepath' |
883 --with-modified-by=NAME name of who modified a release version | 884 --with-modified-by=NAME name of who modified a release version |
2862 else | 2863 else |
2863 echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5 | 2864 echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5 |
2864 echo "${ECHO_T}yes, Darwin support excluded" >&6 | 2865 echo "${ECHO_T}yes, Darwin support excluded" >&6 |
2865 fi | 2866 fi |
2866 | 2867 |
2868 echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5 | |
2869 echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6 | |
2870 | |
2871 # Check whether --with-mac-arch or --without-mac-arch was given. | |
2872 if test "${with_mac_arch+set}" = set; then | |
2873 withval="$with_mac_arch" | |
2874 MACARCH="$withval"; echo "$as_me:$LINENO: result: $MACARCH" >&5 | |
2875 echo "${ECHO_T}$MACARCH" >&6 | |
2876 else | |
2877 MACARCH="both"; echo "$as_me:$LINENO: result: Defaulting to $MACARCH" >&5 | |
2878 echo "${ECHO_T}Defaulting to $MACARCH" >&6 | |
2879 fi; | |
2880 | |
2881 if test "x$MACARCH" = "xboth"; then | |
2882 echo "$as_me:$LINENO: checking if both architectures are supported" >&5 | |
2883 echo $ECHO_N "checking if both architectures are supported... $ECHO_C" >&6 | |
2884 save_cppflags="$CPPFLAGS" | |
2885 save_ldflags="$LDFLAGS" | |
2886 CPPFLAGS="$CPPFLAGS -arch i386 -arch ppc" | |
2887 LDFLAGS="$LDFLAGS -arch i386 -arch ppc" | |
2888 cat >conftest.$ac_ext <<_ACEOF | |
2889 /* confdefs.h. */ | |
2890 _ACEOF | |
2891 cat confdefs.h >>conftest.$ac_ext | |
2892 cat >>conftest.$ac_ext <<_ACEOF | |
2893 /* end confdefs.h. */ | |
2894 | |
2895 int | |
2896 main () | |
2897 { | |
2898 | |
2899 ; | |
2900 return 0; | |
2901 } | |
2902 _ACEOF | |
2903 rm -f conftest.$ac_objext conftest$ac_exeext | |
2904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2905 (eval $ac_link) 2>conftest.er1 | |
2906 ac_status=$? | |
2907 grep -v '^ *+' conftest.er1 >conftest.err | |
2908 rm -f conftest.er1 | |
2909 cat conftest.err >&5 | |
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2911 (exit $ac_status); } && | |
2912 { ac_try='test -z "$ac_c_werror_flag" | |
2913 || test ! -s conftest.err' | |
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2915 (eval $ac_try) 2>&5 | |
2916 ac_status=$? | |
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2918 (exit $ac_status); }; } && | |
2919 { ac_try='test -s conftest$ac_exeext' | |
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2921 (eval $ac_try) 2>&5 | |
2922 ac_status=$? | |
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2924 (exit $ac_status); }; }; then | |
2925 echo "$as_me:$LINENO: result: yes" >&5 | |
2926 echo "${ECHO_T}yes" >&6 | |
2927 else | |
2928 echo "$as_me: failed program was:" >&5 | |
2929 sed 's/^/| /' conftest.$ac_ext >&5 | |
2930 | |
2931 echo "$as_me:$LINENO: result: no" >&5 | |
2932 echo "${ECHO_T}no" >&6 | |
2933 echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5 | |
2934 echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6 | |
2935 CPPFLAGS="$save_cppflags -arch i386" | |
2936 LDFLAGS="$save_ldflags -arch i386" | |
2937 cat >conftest.$ac_ext <<_ACEOF | |
2938 /* confdefs.h. */ | |
2939 _ACEOF | |
2940 cat confdefs.h >>conftest.$ac_ext | |
2941 cat >>conftest.$ac_ext <<_ACEOF | |
2942 /* end confdefs.h. */ | |
2943 | |
2944 int | |
2945 main () | |
2946 { | |
2947 | |
2948 ; | |
2949 return 0; | |
2950 } | |
2951 _ACEOF | |
2952 rm -f conftest.$ac_objext conftest$ac_exeext | |
2953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2954 (eval $ac_link) 2>conftest.er1 | |
2955 ac_status=$? | |
2956 grep -v '^ *+' conftest.er1 >conftest.err | |
2957 rm -f conftest.er1 | |
2958 cat conftest.err >&5 | |
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2960 (exit $ac_status); } && | |
2961 { ac_try='test -z "$ac_c_werror_flag" | |
2962 || test ! -s conftest.err' | |
2963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2964 (eval $ac_try) 2>&5 | |
2965 ac_status=$? | |
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2967 (exit $ac_status); }; } && | |
2968 { ac_try='test -s conftest$ac_exeext' | |
2969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2970 (eval $ac_try) 2>&5 | |
2971 ac_status=$? | |
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2973 (exit $ac_status); }; }; then | |
2974 echo "$as_me:$LINENO: result: yes" >&5 | |
2975 echo "${ECHO_T}yes" >&6; MACARCH="intel" | |
2976 else | |
2977 echo "$as_me: failed program was:" >&5 | |
2978 sed 's/^/| /' conftest.$ac_ext >&5 | |
2979 | |
2980 echo "$as_me:$LINENO: result: no" >&5 | |
2981 echo "${ECHO_T}no" >&6; MACARCH="ppc" | |
2982 fi | |
2983 rm -f conftest.err conftest.$ac_objext \ | |
2984 conftest$ac_exeext conftest.$ac_ext | |
2985 fi | |
2986 rm -f conftest.err conftest.$ac_objext \ | |
2987 conftest$ac_exeext conftest.$ac_ext | |
2988 CPPFLAGS="$save_cppflags" | |
2989 LDFLAGS="$save_ldflags" | |
2990 fi | |
2991 | |
2992 case "$MACARCH" in | |
2993 intel) MAC_OSX_ARCH="-arch i386";; | |
2994 both) MAC_OSX_ARCH="-arch i386 -arch ppc";; | |
2995 ppc) MAC_OSX_ARCH="-arch ppc";; | |
2996 *) MAC_OSX_ARCH="";; | |
2997 esac | |
2998 | |
2999 if test "$MACARCH" = "intel" -o "$MACARCH" = "both"; then | |
3000 CFLAGS=`echo "$CFLAGS" | sed 's/-O[23456789]/-O/'` | |
3001 fi | |
3002 | |
3003 CPPFLAGS="$CPPFLAGS $MAC_OSX_ARCH" | |
3004 LDFLAGS="$LDFLAGS $MAC_OSX_ARCH" | |
3005 | |
2867 if test "$enable_darwin" = "yes"; then | 3006 if test "$enable_darwin" = "yes"; then |
2868 MACOSX=yes | 3007 MACOSX=yes |
2869 OS_EXTRA_SCR="os_macosx.c os_mac_conv.c"; | 3008 OS_EXTRA_SCR="os_macosx.c os_mac_conv.c"; |
2870 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" | 3009 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" |
2871 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -no-cpp-precomp -arch ppc" | 3010 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -no-cpp-precomp" |
2872 | 3011 |
2873 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3012 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
2874 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 3013 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
2875 if test "${ac_cv_header_stdc+set}" = set; then | 3014 if test "${ac_cv_header_stdc+set}" = set; then |
2876 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3015 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3254 if test -z "$with_x" -a "X$enable_gui" != Xmotif -a "X$enable_gui" != Xathena -a "X$enable_gui" != Xgtk -a "X$enable_gui" != Xgtk2; then | 3393 if test -z "$with_x" -a "X$enable_gui" != Xmotif -a "X$enable_gui" != Xathena -a "X$enable_gui" != Xgtk -a "X$enable_gui" != Xgtk2; then |
3255 with_x=no | 3394 with_x=no |
3256 fi | 3395 fi |
3257 fi | 3396 fi |
3258 fi | 3397 fi |
3398 | |
3259 else | 3399 else |
3260 echo "$as_me:$LINENO: result: no" >&5 | 3400 echo "$as_me:$LINENO: result: no" >&5 |
3261 echo "${ECHO_T}no" >&6 | 3401 echo "${ECHO_T}no" >&6 |
3262 fi | 3402 fi |
3263 | 3403 |