diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-14 13:58:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-14 13:58:07 +0200 |
commit | 164fca39bdacc36b7d9f2d1b28ab5abe03ce4004 (patch) | |
tree | 0280e2098fc47966b5bb419f63d3c655a75d1e25 /src/auto/configure | |
parent | 7abcaab78da25f07190a114a84a9000f91cf044f (diff) | |
download | vim-164fca39bdacc36b7d9f2d1b28ab5abe03ce4004.zip |
Add clipboard support in Mac console. (Bjorn Winckler)
Diffstat (limited to 'src/auto/configure')
-rwxr-xr-x | src/auto/configure | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/auto/configure b/src/auto/configure index 20f723b9b..380491f36 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -4004,7 +4004,7 @@ fi $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Darwin files are there" >&5 $as_echo_n "checking if Darwin files are there... " >&6; } - if test -f os_macosx.c; then + if test -f os_macosx.m; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else @@ -4160,14 +4160,9 @@ rm -f core conftest.err conftest.$ac_objext \ if test "$enable_darwin" = "yes"; then MACOSX=yes - OS_EXTRA_SRC="os_macosx.c os_mac_conv.c"; + OS_EXTRA_SRC="os_macosx.m os_mac_conv.c"; OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp" - if test "x$MACARCH" = "xboth"; then - CPPFLAGS="$CPPFLAGS -I$DEVELOPER_DIR/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon" - else - CPPFLAGS="$CPPFLAGS -I$DEVELOPER_DIR/Headers/FlatCarbon" - fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ @@ -7025,8 +7020,9 @@ $as_echo "no GUI support" >&6; } SKIP_CARBON=YES ;; yes|"") { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - automatic GUI support" >&5 $as_echo "yes - automatic GUI support" >&6; } ;; - auto) { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto - automatic GUI support" >&5 -$as_echo "auto - automatic GUI support" >&6; } ;; + auto) { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto - Carbon GUI is outdated - disable GUI support" >&5 +$as_echo "auto - Carbon GUI is outdated - disable GUI support" >&6; } + SKIP_CARBON=YES ;; carbon) { $as_echo "$as_me:${as_lineno-$LINENO}: result: Carbon GUI support" >&5 $as_echo "Carbon GUI support" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sorry, $enable_gui GUI is not supported" >&5 @@ -7184,6 +7180,12 @@ $as_echo "yes" >&6; }; VIMNAME=Vim fi + if test "x$MACARCH" = "xboth"; then + CPPFLAGS="$CPPFLAGS -I$DEVELOPER_DIR/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon" + else + CPPFLAGS="$CPPFLAGS -I$DEVELOPER_DIR/Headers/FlatCarbon" + fi + if test x$prefix = xNONE; then prefix=/Applications fi @@ -11774,13 +11776,11 @@ if test "x$MACOSX" = "xyes" -a -n "$PERL"; then fi fi -if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ - && test "x$GUITYPE" != "xCARBONGUI"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need -framework Carbon" >&5 -$as_echo_n "checking whether we need -framework Carbon... " >&6; } - if test "x$enable_multibyte" = "xyes" || test "x$features" = "xbig" \ - || test "x$features" = "xhuge"; then - LIBS="$LIBS -framework Carbon" +if test "x$MACOSX" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need -framework Cocoa" >&5 +$as_echo_n "checking whether we need -framework Cocoa... " >&6; } + if test "x$features" != "xtiny" || test "x$enable_multibyte" = "xyes"; then + LIBS=$"$LIBS -framework Cocoa" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else @@ -11788,7 +11788,7 @@ $as_echo "yes" >&6; } $as_echo "no" >&6; } fi fi -if test "x$MACARCH" = "xboth"; then +if test "x$MACARCH" = "xboth" && test "x$GUITYPE" = "xCARBONGUI"; then LDFLAGS="$LDFLAGS -isysroot $DEVELOPER_DIR/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" fi |