Search
lxdream.org :: lxdream :: r1029:7138bbb9537c
lxdream 0.9.1
released Jun 29
Download Now
changeset1029:7138bbb9537c
parent1028:f99eeaf084c2
child1030:864417a57662
authornkeynes
dateSun Jun 14 21:46:05 2009 +0000 (10 years ago)
Add -framework Carbon to go with previous change (SetSystemUIMode is tucked away in
Carbon)
configure
configure.in
1.1 --- a/configure Sun Jun 14 11:44:19 2009 +0000
1.2 +++ b/configure Sun Jun 14 21:46:05 2009 +0000
1.3 @@ -3595,12 +3595,14 @@
1.4
1.5
1.6
1.7 -{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
1.8 -$as_echo_n "checking for library containing strerror... " >&6; }
1.9 -if test "${ac_cv_search_strerror+set}" = set; then
1.10 - $as_echo_n "(cached) " >&6
1.11 -else
1.12 - ac_func_search_save_LIBS=$LIBS
1.13 +
1.14 + { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
1.15 +$as_echo_n "checking for strerror in -lcposix... " >&6; }
1.16 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
1.17 + $as_echo_n "(cached) " >&6
1.18 +else
1.19 + ac_check_lib_save_LIBS=$LIBS
1.20 +LIBS="-lcposix $LIBS"
1.21 cat >conftest.$ac_ext <<_ACEOF
1.22 /* confdefs.h. */
1.23 _ACEOF
1.24 @@ -3623,64 +3625,47 @@
1.25 return 0;
1.26 }
1.27 _ACEOF
1.28 -for ac_lib in '' cposix; do
1.29 - if test -z "$ac_lib"; then
1.30 - ac_res="none required"
1.31 - else
1.32 - ac_res=-l$ac_lib
1.33 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1.34 - fi
1.35 - rm -f conftest.$ac_objext conftest$ac_exeext
1.36 -if { (ac_try="$ac_link"
1.37 -case "(($ac_try" in
1.38 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.39 - *) ac_try_echo=$ac_try;;
1.40 -esac
1.41 -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
1.42 -$as_echo "$ac_try_echo") >&5
1.43 - (eval "$ac_link") 2>conftest.er1
1.44 - ac_status=$?
1.45 - grep -v '^ *+' conftest.er1 >conftest.err
1.46 - rm -f conftest.er1
1.47 - cat conftest.err >&5
1.48 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.49 - (exit $ac_status); } && {
1.50 - test -z "$ac_c_werror_flag" ||
1.51 - test ! -s conftest.err
1.52 - } && test -s conftest$ac_exeext && {
1.53 - test "$cross_compiling" = yes ||
1.54 - $as_test_x conftest$ac_exeext
1.55 - }; then
1.56 - ac_cv_search_strerror=$ac_res
1.57 -else
1.58 - $as_echo "$as_me: failed program was:" >&5
1.59 -sed 's/^/| /' conftest.$ac_ext >&5
1.60 -
1.61 -
1.62 -fi
1.63 -
1.64 -rm -rf conftest.dSYM
1.65 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.66 - conftest$ac_exeext
1.67 - if test "${ac_cv_search_strerror+set}" = set; then
1.68 - break
1.69 -fi
1.70 -done
1.71 -if test "${ac_cv_search_strerror+set}" = set; then
1.72 - :
1.73 -else
1.74 - ac_cv_search_strerror=no
1.75 -fi
1.76 -rm conftest.$ac_ext
1.77 -LIBS=$ac_func_search_save_LIBS
1.78 -fi
1.79 -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
1.80 -$as_echo "$ac_cv_search_strerror" >&6; }
1.81 -ac_res=$ac_cv_search_strerror
1.82 -if test "$ac_res" != no; then
1.83 - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.84 -
1.85 -fi
1.86 +rm -f conftest.$ac_objext conftest$ac_exeext
1.87 +if { (ac_try="$ac_link"
1.88 +case "(($ac_try" in
1.89 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.90 + *) ac_try_echo=$ac_try;;
1.91 +esac
1.92 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
1.93 +$as_echo "$ac_try_echo") >&5
1.94 + (eval "$ac_link") 2>conftest.er1
1.95 + ac_status=$?
1.96 + grep -v '^ *+' conftest.er1 >conftest.err
1.97 + rm -f conftest.er1
1.98 + cat conftest.err >&5
1.99 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.100 + (exit $ac_status); } && {
1.101 + test -z "$ac_c_werror_flag" ||
1.102 + test ! -s conftest.err
1.103 + } && test -s conftest$ac_exeext && {
1.104 + test "$cross_compiling" = yes ||
1.105 + $as_test_x conftest$ac_exeext
1.106 + }; then
1.107 + ac_cv_lib_cposix_strerror=yes
1.108 +else
1.109 + $as_echo "$as_me: failed program was:" >&5
1.110 +sed 's/^/| /' conftest.$ac_ext >&5
1.111 +
1.112 + ac_cv_lib_cposix_strerror=no
1.113 +fi
1.114 +
1.115 +rm -rf conftest.dSYM
1.116 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.117 + conftest$ac_exeext conftest.$ac_ext
1.118 +LIBS=$ac_check_lib_save_LIBS
1.119 +fi
1.120 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
1.121 +$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
1.122 +if test "x$ac_cv_lib_cposix_strerror" = x""yes; then
1.123 + LIBS="$LIBS -lcposix"
1.124 +fi
1.125 +
1.126 +
1.127
1.128 ac_ext=c
1.129 ac_cpp='$CPP $CPPFLAGS'
1.130 @@ -7714,7 +7699,7 @@
1.131
1.132 HAVE_COCOA='yes'
1.133 APPLE_BUILD='yes'
1.134 - LIBS="$LIBS -framework AppKit"
1.135 + LIBS="$LIBS -framework AppKit -framework Carbon"
1.136 LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"
1.137 LXDREAMCPPFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
1.138 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
2.1 --- a/configure.in Sun Jun 14 11:44:19 2009 +0000
2.2 +++ b/configure.in Sun Jun 14 21:46:05 2009 +0000
2.3 @@ -77,7 +77,7 @@
2.4 AC_CHECK_HEADER([Cocoa/Cocoa.h], [
2.5 HAVE_COCOA='yes'
2.6 APPLE_BUILD='yes'
2.7 - LIBS="$LIBS -framework AppKit"
2.8 + LIBS="$LIBS -framework AppKit -framework Carbon"
2.9 LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"
2.10 LXDREAMCPPFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
2.11 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
.