glib-1.3.7 on Darwin



Adds knowledge of Darwin (Mac OS X) to config.guess so you don't have to manually specify the system type. I hope this is the right place to send this type of thing :-) (or should I be using bugzilla.gnome.org or similar?)

diff -ru glib-1.3.7/config.guess glib-1.3.7-patched/config.guess
--- glib-1.3.7/config.guess     Sun Sep  9 11:37:28 2001
+++ glib-1.3.7-patched/config.guess     Sun Sep  9 11:29:26 2001
@@ -953,6 +953,9 @@
                echo mips-unknown-sysv${UNAME_RELEASE}
        fi
         exit 0 ;;
+    *:Darwin:*:* | *:"Mac OS":*:*)
+       echo `uname -p`-apple-darwin${UNAME_RELEASE}
+       exit 0 ;;
     BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
        echo powerpc-be-beos
        exit 0 ;;

Also, what are the implications of this:
configure: warning: I can't find the MACRO to enable thread safety on your platform (normally it's _REENTRANT). I'll not use any flag on
                compilation now, but then your programs might not work.
Please provide information on how it is done on your system.
configure: warning: the 'g_get_(user_name|real_name|home_dir|tmp_dir)'
functions will not be MT-safe during their first call because
                there is no working 'getpwuid_r' on your system.
configure: warning: the 'g_date_set_time' function will not be MT-safe
                because there is no 'localtime_r' on your system.

Will this cause problems at all?

 -- Finlay




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]