diff -uNr --exclude=CVS libggi/Makefile.in libggi.macosx/Makefile.in
--- libggi/Makefile.in	Thu Nov 28 01:21:10 2002
+++ libggi.macosx/Makefile.in	Thu Nov 28 02:09:36 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/config.h.in libggi.macosx/config.h.in
--- libggi/config.h.in	Thu Oct 31 23:37:25 2002
+++ libggi.macosx/config.h.in	Thu Oct 31 23:47:02 2002
@@ -61,6 +61,10 @@
 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
 #undef HAVE_ALLOCA_H
 
+/* Define if you have the <ApplicationServices/ApplicationServices.h> header
+   file. */
+#undef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H
+
 /* Define if you have the <asm/io.h> header file. */
 #undef HAVE_ASM_IO_H
 
diff -uNr --exclude=CVS libggi/configure libggi.macosx/configure
--- libggi/configure	Thu Nov 28 01:22:12 2002
+++ libggi.macosx/configure	Thu Nov 28 02:10:33 2002
@@ -858,6 +858,7 @@
   --disable-vcsa          don't build the vcsa target
   --disable-vgl           don't build the vgl target
   --disable-directx       don't build the directx target
+  --disable-quartz       don't build the quartz target
   --disable-multi         don't build the multi target
   --disable-tile          don't build the tile target
   --disable-palemu        don't build the palemu target
@@ -1080,7 +1081,7 @@
 fi
 for ac_site_file in $CONFIG_SITE; do
   if test -r "$ac_site_file"; then
-    { echo "$as_me:1083: loading site script $ac_site_file" >&5
+    { echo "$as_me:1084: loading site script $ac_site_file" >&5
 echo "$as_me: loading site script $ac_site_file" >&6;}
     cat "$ac_site_file" >&5
     . "$ac_site_file"
@@ -1091,7 +1092,7 @@
   # Some versions of bash will fail to source /dev/null (special
   # files actually), so we avoid doing that.
   if test -f "$cache_file"; then
-    { echo "$as_me:1094: loading cache $cache_file" >&5
+    { echo "$as_me:1095: loading cache $cache_file" >&5
 echo "$as_me: loading cache $cache_file" >&6;}
     case $cache_file in
       [\\/]* | ?:[\\/]* ) . $cache_file;;
@@ -1099,7 +1100,7 @@
     esac
   fi
 else
-  { echo "$as_me:1102: creating cache $cache_file" >&5
+  { echo "$as_me:1103: creating cache $cache_file" >&5
 echo "$as_me: creating cache $cache_file" >&6;}
   >$cache_file
 fi
@@ -1115,21 +1116,21 @@
   eval ac_new_val="\$ac_env_${ac_var}_value"
   case $ac_old_set,$ac_new_set in
     set,)
-      { echo "$as_me:1118: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+      { echo "$as_me:1119: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
       ac_cache_corrupted=: ;;
     ,set)
-      { echo "$as_me:1122: error: \`$ac_var' was not set in the previous run" >&5
+      { echo "$as_me:1123: error: \`$ac_var' was not set in the previous run" >&5
 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
       ac_cache_corrupted=: ;;
     ,);;
     *)
       if test "x$ac_old_val" != "x$ac_new_val"; then
-        { echo "$as_me:1128: error: \`$ac_var' has changed since the previous run:" >&5
+        { echo "$as_me:1129: error: \`$ac_var' has changed since the previous run:" >&5
 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
-        { echo "$as_me:1130:   former value:  $ac_old_val" >&5
+        { echo "$as_me:1131:   former value:  $ac_old_val" >&5
 echo "$as_me:   former value:  $ac_old_val" >&2;}
-        { echo "$as_me:1132:   current value: $ac_new_val" >&5
+        { echo "$as_me:1133:   current value: $ac_new_val" >&5
 echo "$as_me:   current value: $ac_new_val" >&2;}
         ac_cache_corrupted=:
       fi;;
@@ -1148,9 +1149,9 @@
   fi
 done
 if $ac_cache_corrupted; then
-  { echo "$as_me:1151: error: changes in the environment can compromise the build" >&5
+  { echo "$as_me:1152: error: changes in the environment can compromise the build" >&5
 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  { { echo "$as_me:1153: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+  { { echo "$as_me:1154: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    { (exit 1); exit 1; }; }
 fi
@@ -1170,10 +1171,10 @@
 echo "#! $SHELL" >conftest.sh
 echo  "exit 0"   >>conftest.sh
 chmod +x conftest.sh
-if { (echo "$as_me:1173: PATH=\".;.\"; conftest.sh") >&5
+if { (echo "$as_me:1174: PATH=\".;.\"; conftest.sh") >&5
   (PATH=".;."; conftest.sh) 2>&5
   ac_status=$?
-  echo "$as_me:1176: \$? = $ac_status" >&5
+  echo "$as_me:1177: \$? = $ac_status" >&5
   (exit $ac_status); }; then
   ac_path_separator=';'
 else
@@ -1200,7 +1201,7 @@
   fi
 done
 if test -z "$ac_aux_dir"; then
-  { { echo "$as_me:1203: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+  { { echo "$as_me:1204: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    { (exit 1); exit 1; }; }
 fi
@@ -1220,7 +1221,7 @@
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # ./install, which can be erroneously created by make from ./install.sh.
-echo "$as_me:1223: checking for a BSD compatible install" >&5
+echo "$as_me:1224: checking for a BSD compatible install" >&5
 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 if test -z "$INSTALL"; then
 if test "${ac_cv_path_install+set}" = set; then
@@ -1269,7 +1270,7 @@
     INSTALL=$ac_install_sh
   fi
 fi
-echo "$as_me:1272: result: $INSTALL" >&5
+echo "$as_me:1273: result: $INSTALL" >&5
 echo "${ECHO_T}$INSTALL" >&6
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -1280,7 +1281,7 @@
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
-echo "$as_me:1283: checking whether build environment is sane" >&5
+echo "$as_me:1284: checking whether build environment is sane" >&5
 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 # Just in case
 sleep 1
@@ -1304,7 +1305,7 @@
       # if, for instance, CONFIG_SHELL is bash and it inherits a
       # broken ls alias from the environment.  This has actually
       # happened.  Such a system could not be considered "sane".
-      { { echo "$as_me:1307: error: ls -t appears to fail.  Make sure there is not a broken
+      { { echo "$as_me:1308: error: ls -t appears to fail.  Make sure there is not a broken
 alias in your environment" >&5
 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 alias in your environment" >&2;}
@@ -1317,13 +1318,13 @@
    # Ok.
    :
 else
-   { { echo "$as_me:1320: error: newly created file is older than distributed files!
+   { { echo "$as_me:1321: error: newly created file is older than distributed files!
 Check your system clock" >&5
 echo "$as_me: error: newly created file is older than distributed files!
 Check your system clock" >&2;}
    { (exit 1); exit 1; }; }
 fi
-echo "$as_me:1326: result: yes" >&5
+echo "$as_me:1327: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 test "$program_prefix" != NONE &&
   program_transform_name="s,^,$program_prefix,;$program_transform_name"
@@ -1347,7 +1348,7 @@
   am_missing_run="$MISSING --run "
 else
   am_missing_run=
-  { echo "$as_me:1350: WARNING: \`missing' script is too old or missing" >&5
+  { echo "$as_me:1351: WARNING: \`missing' script is too old or missing" >&5
 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 fi
 
@@ -1355,7 +1356,7 @@
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
-echo "$as_me:1358: checking for $ac_word" >&5
+echo "$as_me:1359: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_AWK+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1370,7 +1371,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_AWK="$ac_prog"
-echo "$as_me:1373: found $ac_dir/$ac_word" >&5
+echo "$as_me:1374: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1378,17 +1379,17 @@
 fi
 AWK=$ac_cv_prog_AWK
 if test -n "$AWK"; then
-  echo "$as_me:1381: result: $AWK" >&5
+  echo "$as_me:1382: result: $AWK" >&5
 echo "${ECHO_T}$AWK" >&6
 else
-  echo "$as_me:1384: result: no" >&5
+  echo "$as_me:1385: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
   test -n "$AWK" && break
 done
 
-echo "$as_me:1391: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "$as_me:1392: checking whether ${MAKE-make} sets \${MAKE}" >&5
 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
@@ -1408,11 +1409,11 @@
 rm -f conftest.make
 fi
 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
-  echo "$as_me:1411: result: yes" >&5
+  echo "$as_me:1412: result: yes" >&5
 echo "${ECHO_T}yes" >&6
   SET_MAKE=
 else
-  echo "$as_me:1415: result: no" >&5
+  echo "$as_me:1416: result: no" >&5
 echo "${ECHO_T}no" >&6
   SET_MAKE="MAKE=${MAKE-make}"
 fi
@@ -1420,7 +1421,7 @@
  # test to see if srcdir already configured
 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    test -f $srcdir/config.status; then
-  { { echo "$as_me:1423: error: source directory already configured; run \"make distclean\" there first" >&5
+  { { echo "$as_me:1424: error: source directory already configured; run \"make distclean\" there first" >&5
 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
    { (exit 1); exit 1; }; }
 fi
@@ -1453,7 +1454,7 @@
   if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 set dummy ${ac_tool_prefix}strip; ac_word=$2
-echo "$as_me:1456: checking for $ac_word" >&5
+echo "$as_me:1457: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_STRIP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1468,7 +1469,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
-echo "$as_me:1471: found $ac_dir/$ac_word" >&5
+echo "$as_me:1472: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1476,10 +1477,10 @@
 fi
 STRIP=$ac_cv_prog_STRIP
 if test -n "$STRIP"; then
-  echo "$as_me:1479: result: $STRIP" >&5
+  echo "$as_me:1480: result: $STRIP" >&5
 echo "${ECHO_T}$STRIP" >&6
 else
-  echo "$as_me:1482: result: no" >&5
+  echo "$as_me:1483: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1488,7 +1489,7 @@
   ac_ct_STRIP=$STRIP
   # Extract the first word of "strip", so it can be a program name with args.
 set dummy strip; ac_word=$2
-echo "$as_me:1491: checking for $ac_word" >&5
+echo "$as_me:1492: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1503,7 +1504,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_STRIP="strip"
-echo "$as_me:1506: found $ac_dir/$ac_word" >&5
+echo "$as_me:1507: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1512,10 +1513,10 @@
 fi
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 if test -n "$ac_ct_STRIP"; then
-  echo "$as_me:1515: result: $ac_ct_STRIP" >&5
+  echo "$as_me:1516: result: $ac_ct_STRIP" >&5
 echo "${ECHO_T}$ac_ct_STRIP" >&6
 else
-  echo "$as_me:1518: result: no" >&5
+  echo "$as_me:1519: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1530,7 +1531,7 @@
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
 
-echo "$as_me:1533: checking whether to enable maintainer-specific portions of Makefiles" >&5
+echo "$as_me:1534: checking whether to enable maintainer-specific portions of Makefiles" >&5
 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 if test "${enable_maintainer_mode+set}" = set; then
@@ -1539,7 +1540,7 @@
 else
   USE_MAINTAINER_MODE=no
 fi;
-  echo "$as_me:1542: result: $USE_MAINTAINER_MODE" >&5
+  echo "$as_me:1543: result: $USE_MAINTAINER_MODE" >&5
 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
 if test $USE_MAINTAINER_MODE = yes; then
@@ -1613,6 +1614,8 @@
 
 build_directx_target="no"
 
+build_quartz_target="auto"
+
 build_multi_target="yes"
 build_tile_target="auto"
 build_palemu_target="auto"
@@ -1640,7 +1643,7 @@
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
-echo "$as_me:1643: checking for $ac_word" >&5
+echo "$as_me:1646: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1655,7 +1658,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_CC="${ac_tool_prefix}gcc"
-echo "$as_me:1658: found $ac_dir/$ac_word" >&5
+echo "$as_me:1661: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1663,10 +1666,10 @@
 fi
 CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  echo "$as_me:1666: result: $CC" >&5
+  echo "$as_me:1669: result: $CC" >&5
 echo "${ECHO_T}$CC" >&6
 else
-  echo "$as_me:1669: result: no" >&5
+  echo "$as_me:1672: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1675,7 +1678,7 @@
   ac_ct_CC=$CC
   # Extract the first word of "gcc", so it can be a program name with args.
 set dummy gcc; ac_word=$2
-echo "$as_me:1678: checking for $ac_word" >&5
+echo "$as_me:1681: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1690,7 +1693,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_CC="gcc"
-echo "$as_me:1693: found $ac_dir/$ac_word" >&5
+echo "$as_me:1696: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1698,10 +1701,10 @@
 fi
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 if test -n "$ac_ct_CC"; then
-  echo "$as_me:1701: result: $ac_ct_CC" >&5
+  echo "$as_me:1704: result: $ac_ct_CC" >&5
 echo "${ECHO_T}$ac_ct_CC" >&6
 else
-  echo "$as_me:1704: result: no" >&5
+  echo "$as_me:1707: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1714,7 +1717,7 @@
   if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 set dummy ${ac_tool_prefix}cc; ac_word=$2
-echo "$as_me:1717: checking for $ac_word" >&5
+echo "$as_me:1720: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1729,7 +1732,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_CC="${ac_tool_prefix}cc"
-echo "$as_me:1732: found $ac_dir/$ac_word" >&5
+echo "$as_me:1735: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1737,10 +1740,10 @@
 fi
 CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  echo "$as_me:1740: result: $CC" >&5
+  echo "$as_me:1743: result: $CC" >&5
 echo "${ECHO_T}$CC" >&6
 else
-  echo "$as_me:1743: result: no" >&5
+  echo "$as_me:1746: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1749,7 +1752,7 @@
   ac_ct_CC=$CC
   # Extract the first word of "cc", so it can be a program name with args.
 set dummy cc; ac_word=$2
-echo "$as_me:1752: checking for $ac_word" >&5
+echo "$as_me:1755: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1764,7 +1767,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_CC="cc"
-echo "$as_me:1767: found $ac_dir/$ac_word" >&5
+echo "$as_me:1770: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1772,10 +1775,10 @@
 fi
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 if test -n "$ac_ct_CC"; then
-  echo "$as_me:1775: result: $ac_ct_CC" >&5
+  echo "$as_me:1778: result: $ac_ct_CC" >&5
 echo "${ECHO_T}$ac_ct_CC" >&6
 else
-  echo "$as_me:1778: result: no" >&5
+  echo "$as_me:1781: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1788,7 +1791,7 @@
 if test -z "$CC"; then
   # Extract the first word of "cc", so it can be a program name with args.
 set dummy cc; ac_word=$2
-echo "$as_me:1791: checking for $ac_word" >&5
+echo "$as_me:1794: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1808,7 +1811,7 @@
   continue
 fi
 ac_cv_prog_CC="cc"
-echo "$as_me:1811: found $ac_dir/$ac_word" >&5
+echo "$as_me:1814: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1830,10 +1833,10 @@
 fi
 CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  echo "$as_me:1833: result: $CC" >&5
+  echo "$as_me:1836: result: $CC" >&5
 echo "${ECHO_T}$CC" >&6
 else
-  echo "$as_me:1836: result: no" >&5
+  echo "$as_me:1839: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1844,7 +1847,7 @@
   do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-echo "$as_me:1847: checking for $ac_word" >&5
+echo "$as_me:1850: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1859,7 +1862,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
-echo "$as_me:1862: found $ac_dir/$ac_word" >&5
+echo "$as_me:1865: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1867,10 +1870,10 @@
 fi
 CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  echo "$as_me:1870: result: $CC" >&5
+  echo "$as_me:1873: result: $CC" >&5
 echo "${ECHO_T}$CC" >&6
 else
-  echo "$as_me:1873: result: no" >&5
+  echo "$as_me:1876: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1883,7 +1886,7 @@
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
-echo "$as_me:1886: checking for $ac_word" >&5
+echo "$as_me:1889: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1898,7 +1901,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_CC="$ac_prog"
-echo "$as_me:1901: found $ac_dir/$ac_word" >&5
+echo "$as_me:1904: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -1906,10 +1909,10 @@
 fi
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 if test -n "$ac_ct_CC"; then
-  echo "$as_me:1909: result: $ac_ct_CC" >&5
+  echo "$as_me:1912: result: $ac_ct_CC" >&5
 echo "${ECHO_T}$ac_ct_CC" >&6
 else
-  echo "$as_me:1912: result: no" >&5
+  echo "$as_me:1915: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -1921,32 +1924,32 @@
 
 fi
 
-test -z "$CC" && { { echo "$as_me:1924: error: no acceptable cc found in \$PATH" >&5
+test -z "$CC" && { { echo "$as_me:1927: error: no acceptable cc found in \$PATH" >&5
 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
    { (exit 1); exit 1; }; }
 
 # Provide some information about the compiler.
-echo "$as_me:1929:" \
+echo "$as_me:1932:" \
      "checking for C compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
-{ (eval echo "$as_me:1932: \"$ac_compiler --version </dev/null >&5\"") >&5
+{ (eval echo "$as_me:1935: \"$ac_compiler --version </dev/null >&5\"") >&5
   (eval $ac_compiler --version </dev/null >&5) 2>&5
   ac_status=$?
-  echo "$as_me:1935: \$? = $ac_status" >&5
+  echo "$as_me:1938: \$? = $ac_status" >&5
   (exit $ac_status); }
-{ (eval echo "$as_me:1937: \"$ac_compiler -v </dev/null >&5\"") >&5
+{ (eval echo "$as_me:1940: \"$ac_compiler -v </dev/null >&5\"") >&5
   (eval $ac_compiler -v </dev/null >&5) 2>&5
   ac_status=$?
-  echo "$as_me:1940: \$? = $ac_status" >&5
+  echo "$as_me:1943: \$? = $ac_status" >&5
   (exit $ac_status); }
-{ (eval echo "$as_me:1942: \"$ac_compiler -V </dev/null >&5\"") >&5
+{ (eval echo "$as_me:1945: \"$ac_compiler -V </dev/null >&5\"") >&5
   (eval $ac_compiler -V </dev/null >&5) 2>&5
   ac_status=$?
-  echo "$as_me:1945: \$? = $ac_status" >&5
+  echo "$as_me:1948: \$? = $ac_status" >&5
   (exit $ac_status); }
 
 cat >conftest.$ac_ext <<_ACEOF
-#line 1949 "configure"
+#line 1952 "configure"
 #include "confdefs.h"
 
 int
@@ -1962,13 +1965,13 @@
 # Try to create an executable without -o first, disregard a.out.
 # It will help us diagnose broken compilers, and finding out an intuition
 # of exeext.
-echo "$as_me:1965: checking for C compiler default output" >&5
+echo "$as_me:1968: checking for C compiler default output" >&5
 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-if { (eval echo "$as_me:1968: \"$ac_link_default\"") >&5
+if { (eval echo "$as_me:1971: \"$ac_link_default\"") >&5
   (eval $ac_link_default) 2>&5
   ac_status=$?
-  echo "$as_me:1971: \$? = $ac_status" >&5
+  echo "$as_me:1974: \$? = $ac_status" >&5
   (exit $ac_status); }; then
   # Find the output, starting from the most likely.  This scheme is
 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
@@ -1991,34 +1994,34 @@
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-{ { echo "$as_me:1994: error: C compiler cannot create executables" >&5
+{ { echo "$as_me:1997: error: C compiler cannot create executables" >&5
 echo "$as_me: error: C compiler cannot create executables" >&2;}
    { (exit 77); exit 77; }; }
 fi
 
 ac_exeext=$ac_cv_exeext
-echo "$as_me:2000: result: $ac_file" >&5
+echo "$as_me:2003: result: $ac_file" >&5
 echo "${ECHO_T}$ac_file" >&6
 
 # Check the compiler produces executables we can run.  If not, either
 # the compiler is broken, or we cross compile.
-echo "$as_me:2005: checking whether the C compiler works" >&5
+echo "$as_me:2008: checking whether the C compiler works" >&5
 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 # If not cross compiling, check that we can run a simple program.
 if test "$cross_compiling" != yes; then
   if { ac_try='./$ac_file'
-  { (eval echo "$as_me:2011: \"$ac_try\"") >&5
+  { (eval echo "$as_me:2014: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:2014: \$? = $ac_status" >&5
+  echo "$as_me:2017: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
     cross_compiling=no
   else
     if test "$cross_compiling" = maybe; then
 	cross_compiling=yes
     else
-	{ { echo "$as_me:2021: error: cannot run C compiled programs.
+	{ { echo "$as_me:2024: error: cannot run C compiled programs.
 If you meant to cross compile, use \`--host'." >&5
 echo "$as_me: error: cannot run C compiled programs.
 If you meant to cross compile, use \`--host'." >&2;}
@@ -2026,24 +2029,24 @@
     fi
   fi
 fi
-echo "$as_me:2029: result: yes" >&5
+echo "$as_me:2032: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 
 rm -f a.out a.exe conftest$ac_cv_exeext
 ac_clean_files=$ac_clean_files_save
 # Check the compiler produces executables we can run.  If not, either
 # the compiler is broken, or we cross compile.
-echo "$as_me:2036: checking whether we are cross compiling" >&5
+echo "$as_me:2039: checking whether we are cross compiling" >&5
 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
-echo "$as_me:2038: result: $cross_compiling" >&5
+echo "$as_me:2041: result: $cross_compiling" >&5
 echo "${ECHO_T}$cross_compiling" >&6
 
-echo "$as_me:2041: checking for executable suffix" >&5
+echo "$as_me:2044: checking for executable suffix" >&5
 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
-if { (eval echo "$as_me:2043: \"$ac_link\"") >&5
+if { (eval echo "$as_me:2046: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:2046: \$? = $ac_status" >&5
+  echo "$as_me:2049: \$? = $ac_status" >&5
   (exit $ac_status); }; then
   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
@@ -2059,25 +2062,25 @@
   esac
 done
 else
-  { { echo "$as_me:2062: error: cannot compute EXEEXT: cannot compile and link" >&5
+  { { echo "$as_me:2065: error: cannot compute EXEEXT: cannot compile and link" >&5
 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
 rm -f conftest$ac_cv_exeext
-echo "$as_me:2068: result: $ac_cv_exeext" >&5
+echo "$as_me:2071: result: $ac_cv_exeext" >&5
 echo "${ECHO_T}$ac_cv_exeext" >&6
 
 rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT
-echo "$as_me:2074: checking for object suffix" >&5
+echo "$as_me:2077: checking for object suffix" >&5
 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
 if test "${ac_cv_objext+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 2080 "configure"
+#line 2083 "configure"
 #include "confdefs.h"
 
 int
@@ -2089,10 +2092,10 @@
 }
 _ACEOF
 rm -f conftest.o conftest.obj
-if { (eval echo "$as_me:2092: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2095: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:2095: \$? = $ac_status" >&5
+  echo "$as_me:2098: \$? = $ac_status" >&5
   (exit $ac_status); }; then
   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
@@ -2104,24 +2107,24 @@
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-{ { echo "$as_me:2107: error: cannot compute OBJEXT: cannot compile" >&5
+{ { echo "$as_me:2110: error: cannot compute OBJEXT: cannot compile" >&5
 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
-echo "$as_me:2114: result: $ac_cv_objext" >&5
+echo "$as_me:2117: result: $ac_cv_objext" >&5
 echo "${ECHO_T}$ac_cv_objext" >&6
 OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT
-echo "$as_me:2118: checking whether we are using the GNU C compiler" >&5
+echo "$as_me:2121: checking whether we are using the GNU C compiler" >&5
 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 2124 "configure"
+#line 2127 "configure"
 #include "confdefs.h"
 
 int
@@ -2136,16 +2139,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2139: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2142: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:2142: \$? = $ac_status" >&5
+  echo "$as_me:2145: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:2145: \"$ac_try\"") >&5
+  { (eval echo "$as_me:2148: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:2148: \$? = $ac_status" >&5
+  echo "$as_me:2151: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_compiler_gnu=yes
 else
@@ -2157,19 +2160,19 @@
 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
 fi
-echo "$as_me:2160: result: $ac_cv_c_compiler_gnu" >&5
+echo "$as_me:2163: result: $ac_cv_c_compiler_gnu" >&5
 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 GCC=`test $ac_compiler_gnu = yes && echo yes`
 ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
 CFLAGS="-g"
-echo "$as_me:2166: checking whether $CC accepts -g" >&5
+echo "$as_me:2169: checking whether $CC accepts -g" >&5
 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 if test "${ac_cv_prog_cc_g+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 2172 "configure"
+#line 2175 "configure"
 #include "confdefs.h"
 
 int
@@ -2181,16 +2184,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2184: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2187: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:2187: \$? = $ac_status" >&5
+  echo "$as_me:2190: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:2190: \"$ac_try\"") >&5
+  { (eval echo "$as_me:2193: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:2193: \$? = $ac_status" >&5
+  echo "$as_me:2196: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_prog_cc_g=yes
 else
@@ -2200,7 +2203,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$as_me:2203: result: $ac_cv_prog_cc_g" >&5
+echo "$as_me:2206: result: $ac_cv_prog_cc_g" >&5
 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 if test "$ac_test_CFLAGS" = set; then
   CFLAGS=$ac_save_CFLAGS
@@ -2227,16 +2230,16 @@
 #endif
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2230: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2233: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:2233: \$? = $ac_status" >&5
+  echo "$as_me:2236: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:2236: \"$ac_try\"") >&5
+  { (eval echo "$as_me:2239: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:2239: \$? = $ac_status" >&5
+  echo "$as_me:2242: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   for ac_declaration in \
    ''\
@@ -2248,7 +2251,7 @@
    'void exit (int);'
 do
   cat >conftest.$ac_ext <<_ACEOF
-#line 2251 "configure"
+#line 2254 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 $ac_declaration
@@ -2261,16 +2264,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2264: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2267: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:2267: \$? = $ac_status" >&5
+  echo "$as_me:2270: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:2270: \"$ac_try\"") >&5
+  { (eval echo "$as_me:2273: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:2273: \$? = $ac_status" >&5
+  echo "$as_me:2276: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   :
 else
@@ -2280,7 +2283,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
   cat >conftest.$ac_ext <<_ACEOF
-#line 2283 "configure"
+#line 2286 "configure"
 #include "confdefs.h"
 $ac_declaration
 int
@@ -2292,16 +2295,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2295: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2298: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:2298: \$? = $ac_status" >&5
+  echo "$as_me:2301: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:2301: \"$ac_try\"") >&5
+  { (eval echo "$as_me:2304: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:2304: \$? = $ac_status" >&5
+  echo "$as_me:2307: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   break
 else
@@ -2345,7 +2348,7 @@
 	@echo done
 END
 # If we don't find an include directive, just comment out the code.
-echo "$as_me:2348: checking for style of include used by $am_make" >&5
+echo "$as_me:2351: checking for style of include used by $am_make" >&5
 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 am__include="#"
 am__quote=
@@ -2372,7 +2375,7 @@
    fi
 fi
 
-echo "$as_me:2375: result: $_am_result" >&5
+echo "$as_me:2378: result: $_am_result" >&5
 echo "${ECHO_T}$_am_result" >&6
 rm -f confinc confmf
 
@@ -2396,7 +2399,7 @@
 
 depcc="$CC"   am_compiler_list=
 
-echo "$as_me:2399: checking dependency style of $depcc" >&5
+echo "$as_me:2402: checking dependency style of $depcc" >&5
 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2458,7 +2461,7 @@
 fi
 
 fi
-echo "$as_me:2461: result: $am_cv_CC_dependencies_compiler_type" >&5
+echo "$as_me:2464: result: $am_cv_CC_dependencies_compiler_type" >&5
 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
@@ -2508,11 +2511,11 @@
 fi;
 # Make sure we can run config.sub.
 $ac_config_sub sun4 >/dev/null 2>&1 ||
-  { { echo "$as_me:2511: error: cannot run $ac_config_sub" >&5
+  { { echo "$as_me:2514: error: cannot run $ac_config_sub" >&5
 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    { (exit 1); exit 1; }; }
 
-echo "$as_me:2515: checking build system type" >&5
+echo "$as_me:2518: checking build system type" >&5
 echo $ECHO_N "checking build system type... $ECHO_C" >&6
 if test "${ac_cv_build+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2521,23 +2524,23 @@
 test -z "$ac_cv_build_alias" &&
   ac_cv_build_alias=`$ac_config_guess`
 test -z "$ac_cv_build_alias" &&
-  { { echo "$as_me:2524: error: cannot guess build type; you must specify one" >&5
+  { { echo "$as_me:2527: error: cannot guess build type; you must specify one" >&5
 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    { (exit 1); exit 1; }; }
 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
-  { { echo "$as_me:2528: error: $ac_config_sub $ac_cv_build_alias failed." >&5
+  { { echo "$as_me:2531: error: $ac_config_sub $ac_cv_build_alias failed." >&5
 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
    { (exit 1); exit 1; }; }
 
 fi
-echo "$as_me:2533: result: $ac_cv_build" >&5
+echo "$as_me:2536: result: $ac_cv_build" >&5
 echo "${ECHO_T}$ac_cv_build" >&6
 build=$ac_cv_build
 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
-echo "$as_me:2540: checking host system type" >&5
+echo "$as_me:2543: checking host system type" >&5
 echo $ECHO_N "checking host system type... $ECHO_C" >&6
 if test "${ac_cv_host+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2546,12 +2549,12 @@
 test -z "$ac_cv_host_alias" &&
   ac_cv_host_alias=$ac_cv_build_alias
 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
-  { { echo "$as_me:2549: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+  { { echo "$as_me:2552: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    { (exit 1); exit 1; }; }
 
 fi
-echo "$as_me:2554: result: $ac_cv_host" >&5
+echo "$as_me:2557: result: $ac_cv_host" >&5
 echo "${ECHO_T}$ac_cv_host" >&6
 host=$ac_cv_host
 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
@@ -2579,7 +2582,7 @@
 ac_prog=ld
 if test "$GCC" = yes; then
   # Check if gcc -print-prog-name=ld gives a path.
-  echo "$as_me:2582: checking for ld used by GCC" >&5
+  echo "$as_me:2585: checking for ld used by GCC" >&5
 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
   case $host in
   *-*-mingw*)
@@ -2609,10 +2612,10 @@
     ;;
   esac
 elif test "$with_gnu_ld" = yes; then
-  echo "$as_me:2612: checking for GNU ld" >&5
+  echo "$as_me:2615: checking for GNU ld" >&5
 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 else
-  echo "$as_me:2615: checking for non-GNU ld" >&5
+  echo "$as_me:2618: checking for non-GNU ld" >&5
 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 fi
 if test "${lt_cv_path_LD+set}" = set; then
@@ -2642,16 +2645,16 @@
 
 LD="$lt_cv_path_LD"
 if test -n "$LD"; then
-  echo "$as_me:2645: result: $LD" >&5
+  echo "$as_me:2648: result: $LD" >&5
 echo "${ECHO_T}$LD" >&6
 else
-  echo "$as_me:2648: result: no" >&5
+  echo "$as_me:2651: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
-test -z "$LD" && { { echo "$as_me:2651: error: no acceptable ld found in \$PATH" >&5
+test -z "$LD" && { { echo "$as_me:2654: error: no acceptable ld found in \$PATH" >&5
 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
    { (exit 1); exit 1; }; }
-echo "$as_me:2654: checking if the linker ($LD) is GNU ld" >&5
+echo "$as_me:2657: checking if the linker ($LD) is GNU ld" >&5
 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2663,23 +2666,23 @@
   lt_cv_prog_gnu_ld=no
 fi
 fi
-echo "$as_me:2666: result: $lt_cv_prog_gnu_ld" >&5
+echo "$as_me:2669: result: $lt_cv_prog_gnu_ld" >&5
 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 with_gnu_ld=$lt_cv_prog_gnu_ld
 
-echo "$as_me:2670: checking for $LD option to reload object files" >&5
+echo "$as_me:2673: checking for $LD option to reload object files" >&5
 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 if test "${lt_cv_ld_reload_flag+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   lt_cv_ld_reload_flag='-r'
 fi
-echo "$as_me:2677: result: $lt_cv_ld_reload_flag" >&5
+echo "$as_me:2680: result: $lt_cv_ld_reload_flag" >&5
 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 reload_flag=$lt_cv_ld_reload_flag
 test -n "$reload_flag" && reload_flag=" $reload_flag"
 
-echo "$as_me:2682: checking for BSD-compatible nm" >&5
+echo "$as_me:2685: checking for BSD-compatible nm" >&5
 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 if test "${lt_cv_path_NM+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2715,10 +2718,10 @@
 fi
 
 NM="$lt_cv_path_NM"
-echo "$as_me:2718: result: $NM" >&5
+echo "$as_me:2721: result: $NM" >&5
 echo "${ECHO_T}$NM" >&6
 
-echo "$as_me:2721: checking for a sed that does not truncate output" >&5
+echo "$as_me:2724: checking for a sed that does not truncate output" >&5
 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 if test "${lt_cv_path_SED+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2800,21 +2803,21 @@
 else
   SED=$lt_cv_path_SED
 fi
-echo "$as_me:2803: result: $SED" >&5
+echo "$as_me:2806: result: $SED" >&5
 echo "${ECHO_T}$SED" >&6
 
-echo "$as_me:2806: checking whether ln -s works" >&5
+echo "$as_me:2809: checking whether ln -s works" >&5
 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 LN_S=$as_ln_s
 if test "$LN_S" = "ln -s"; then
-  echo "$as_me:2810: result: yes" >&5
+  echo "$as_me:2813: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 else
-  echo "$as_me:2813: result: no, using $LN_S" >&5
+  echo "$as_me:2816: result: no, using $LN_S" >&5
 echo "${ECHO_T}no, using $LN_S" >&6
 fi
 
-echo "$as_me:2817: checking how to recognise dependent libraries" >&5
+echo "$as_me:2820: checking how to recognise dependent libraries" >&5
 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 if test "${lt_cv_deplibs_check_method+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2995,13 +2998,13 @@
 esac
 
 fi
-echo "$as_me:2998: result: $lt_cv_deplibs_check_method" >&5
+echo "$as_me:3001: result: $lt_cv_deplibs_check_method" >&5
 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method
 
 # Check for command to grab the raw symbol name followed by C symbol from nm.
-echo "$as_me:3004: checking command to parse $NM output" >&5
+echo "$as_me:3007: checking command to parse $NM output" >&5
 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3085,17 +3088,17 @@
 int main(){nm_test_var='a';nm_test_func();return(0);}
 EOF
 
-  if { (eval echo "$as_me:3088: \"$ac_compile\"") >&5
+  if { (eval echo "$as_me:3091: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:3091: \$? = $ac_status" >&5
+  echo "$as_me:3094: \$? = $ac_status" >&5
   (exit $ac_status); }; then
     # Now try to grab the symbols.
     nlist=conftest.nm
-    if { (eval echo "$as_me:3095: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
+    if { (eval echo "$as_me:3098: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   ac_status=$?
-  echo "$as_me:3098: \$? = $ac_status" >&5
+  echo "$as_me:3101: \$? = $ac_status" >&5
   (exit $ac_status); } && test -s "$nlist"; then
       # Try sorting and uniquifying the output.
       if sort "$nlist" | uniq > "$nlist"T; then
@@ -3147,10 +3150,10 @@
 	  save_CFLAGS="$CFLAGS"
 	  LIBS="conftstm.$ac_objext"
 	  CFLAGS="$CFLAGS$no_builtin_flag"
-	  if { (eval echo "$as_me:3150: \"$ac_link\"") >&5
+	  if { (eval echo "$as_me:3153: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:3153: \$? = $ac_status" >&5
+  echo "$as_me:3156: \$? = $ac_status" >&5
   (exit $ac_status); } && test -s conftest$ac_exeext; then
 	    pipe_works=yes
 	  fi
@@ -3191,10 +3194,10 @@
 fi
 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
 then
-  echo "$as_me:3194: result: failed" >&5
+  echo "$as_me:3197: result: failed" >&5
 echo "${ECHO_T}failed" >&6
 else
-  echo "$as_me:3197: result: ok" >&5
+  echo "$as_me:3200: result: ok" >&5
 echo "${ECHO_T}ok" >&6
 fi
 
@@ -3203,7 +3206,7 @@
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:3206: checking how to run the C preprocessor" >&5
+echo "$as_me:3209: checking how to run the C preprocessor" >&5
 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then
@@ -3224,18 +3227,18 @@
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp. "Syntax error" is here to catch this case.
   cat >conftest.$ac_ext <<_ACEOF
-#line 3227 "configure"
+#line 3230 "configure"
 #include "confdefs.h"
 #include <assert.h>
                      Syntax error
 _ACEOF
-if { (eval echo "$as_me:3232: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:3235: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:3238: \$? = $ac_status" >&5
+  echo "$as_me:3241: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3258,17 +3261,17 @@
   # OK, works on sane cases.  Now check whether non-existent headers
   # can be detected and how.
   cat >conftest.$ac_ext <<_ACEOF
-#line 3261 "configure"
+#line 3264 "configure"
 #include "confdefs.h"
 #include <ac_nonexistent.h>
 _ACEOF
-if { (eval echo "$as_me:3265: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:3268: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:3271: \$? = $ac_status" >&5
+  echo "$as_me:3274: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3305,7 +3308,7 @@
 else
   ac_cv_prog_CPP=$CPP
 fi
-echo "$as_me:3308: result: $CPP" >&5
+echo "$as_me:3311: result: $CPP" >&5
 echo "${ECHO_T}$CPP" >&6
 ac_preproc_ok=false
 for ac_c_preproc_warn_flag in '' yes
@@ -3315,18 +3318,18 @@
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp. "Syntax error" is here to catch this case.
   cat >conftest.$ac_ext <<_ACEOF
-#line 3318 "configure"
+#line 3321 "configure"
 #include "confdefs.h"
 #include <assert.h>
                      Syntax error
 _ACEOF
-if { (eval echo "$as_me:3323: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:3326: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:3329: \$? = $ac_status" >&5
+  echo "$as_me:3332: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3349,17 +3352,17 @@
   # OK, works on sane cases.  Now check whether non-existent headers
   # can be detected and how.
   cat >conftest.$ac_ext <<_ACEOF
-#line 3352 "configure"
+#line 3355 "configure"
 #include "confdefs.h"
 #include <ac_nonexistent.h>
 _ACEOF
-if { (eval echo "$as_me:3356: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:3359: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:3362: \$? = $ac_status" >&5
+  echo "$as_me:3365: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3387,7 +3390,7 @@
 if $ac_preproc_ok; then
   :
 else
-  { { echo "$as_me:3390: error: C preprocessor \"$CPP\" fails sanity check" >&5
+  { { echo "$as_me:3393: error: C preprocessor \"$CPP\" fails sanity check" >&5
 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
    { (exit 1); exit 1; }; }
 fi
@@ -3401,23 +3404,23 @@
 for ac_header in dlfcn.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:3404: checking for $ac_header" >&5
+echo "$as_me:3407: checking for $ac_header" >&5
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 3410 "configure"
+#line 3413 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 _ACEOF
-if { (eval echo "$as_me:3414: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:3417: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:3420: \$? = $ac_status" >&5
+  echo "$as_me:3423: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3436,7 +3439,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:3439: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:3442: result: `eval echo '${'$as_ac_Header'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -3450,7 +3453,7 @@
 case $deplibs_check_method in
 file_magic*)
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
-    echo "$as_me:3453: checking for ${ac_tool_prefix}file" >&5
+    echo "$as_me:3456: checking for ${ac_tool_prefix}file" >&5
 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3505,16 +3508,16 @@
 
 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 if test -n "$MAGIC_CMD"; then
-  echo "$as_me:3508: result: $MAGIC_CMD" >&5
+  echo "$as_me:3511: result: $MAGIC_CMD" >&5
 echo "${ECHO_T}$MAGIC_CMD" >&6
 else
-  echo "$as_me:3511: result: no" >&5
+  echo "$as_me:3514: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
 if test -z "$lt_cv_path_MAGIC_CMD"; then
   if test -n "$ac_tool_prefix"; then
-    echo "$as_me:3517: checking for file" >&5
+    echo "$as_me:3520: checking for file" >&5
 echo $ECHO_N "checking for file... $ECHO_C" >&6
 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3569,10 +3572,10 @@
 
 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 if test -n "$MAGIC_CMD"; then
-  echo "$as_me:3572: result: $MAGIC_CMD" >&5
+  echo "$as_me:3575: result: $MAGIC_CMD" >&5
 echo "${ECHO_T}$MAGIC_CMD" >&6
 else
-  echo "$as_me:3575: result: no" >&5
+  echo "$as_me:3578: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3588,7 +3591,7 @@
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-echo "$as_me:3591: checking for $ac_word" >&5
+echo "$as_me:3594: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_RANLIB+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3603,7 +3606,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
-echo "$as_me:3606: found $ac_dir/$ac_word" >&5
+echo "$as_me:3609: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3611,10 +3614,10 @@
 fi
 RANLIB=$ac_cv_prog_RANLIB
 if test -n "$RANLIB"; then
-  echo "$as_me:3614: result: $RANLIB" >&5
+  echo "$as_me:3617: result: $RANLIB" >&5
 echo "${ECHO_T}$RANLIB" >&6
 else
-  echo "$as_me:3617: result: no" >&5
+  echo "$as_me:3620: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3623,7 +3626,7 @@
   ac_ct_RANLIB=$RANLIB
   # Extract the first word of "ranlib", so it can be a program name with args.
 set dummy ranlib; ac_word=$2
-echo "$as_me:3626: checking for $ac_word" >&5
+echo "$as_me:3629: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3638,7 +3641,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_RANLIB="ranlib"
-echo "$as_me:3641: found $ac_dir/$ac_word" >&5
+echo "$as_me:3644: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3647,10 +3650,10 @@
 fi
 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 if test -n "$ac_ct_RANLIB"; then
-  echo "$as_me:3650: result: $ac_ct_RANLIB" >&5
+  echo "$as_me:3653: result: $ac_ct_RANLIB" >&5
 echo "${ECHO_T}$ac_ct_RANLIB" >&6
 else
-  echo "$as_me:3653: result: no" >&5
+  echo "$as_me:3656: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3662,7 +3665,7 @@
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 set dummy ${ac_tool_prefix}strip; ac_word=$2
-echo "$as_me:3665: checking for $ac_word" >&5
+echo "$as_me:3668: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_STRIP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3677,7 +3680,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
-echo "$as_me:3680: found $ac_dir/$ac_word" >&5
+echo "$as_me:3683: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3685,10 +3688,10 @@
 fi
 STRIP=$ac_cv_prog_STRIP
 if test -n "$STRIP"; then
-  echo "$as_me:3688: result: $STRIP" >&5
+  echo "$as_me:3691: result: $STRIP" >&5
 echo "${ECHO_T}$STRIP" >&6
 else
-  echo "$as_me:3691: result: no" >&5
+  echo "$as_me:3694: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3697,7 +3700,7 @@
   ac_ct_STRIP=$STRIP
   # Extract the first word of "strip", so it can be a program name with args.
 set dummy strip; ac_word=$2
-echo "$as_me:3700: checking for $ac_word" >&5
+echo "$as_me:3703: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3712,7 +3715,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_STRIP="strip"
-echo "$as_me:3715: found $ac_dir/$ac_word" >&5
+echo "$as_me:3718: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3721,10 +3724,10 @@
 fi
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 if test -n "$ac_ct_STRIP"; then
-  echo "$as_me:3724: result: $ac_ct_STRIP" >&5
+  echo "$as_me:3727: result: $ac_ct_STRIP" >&5
 echo "${ECHO_T}$ac_ct_STRIP" >&6
 else
-  echo "$as_me:3727: result: no" >&5
+  echo "$as_me:3730: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3748,11 +3751,11 @@
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 3751 "configure"' > conftest.$ac_ext
-  if { (eval echo "$as_me:3752: \"$ac_compile\"") >&5
+  echo '#line 3754 "configure"' > conftest.$ac_ext
+  if { (eval echo "$as_me:3755: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:3755: \$? = $ac_status" >&5
+  echo "$as_me:3758: \$? = $ac_status" >&5
   (exit $ac_status); }; then
     case `/usr/bin/file conftest.$ac_objext` in
     *32-bit*)
@@ -3773,7 +3776,7 @@
   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   SAVE_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS -belf"
-  echo "$as_me:3776: checking whether the C compiler needs -belf" >&5
+  echo "$as_me:3779: checking whether the C compiler needs -belf" >&5
 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 if test "${lt_cv_cc_needs_belf+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3786,7 +3789,7 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
      cat >conftest.$ac_ext <<_ACEOF
-#line 3789 "configure"
+#line 3792 "configure"
 #include "confdefs.h"
 
 int
@@ -3798,16 +3801,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3801: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3804: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:3804: \$? = $ac_status" >&5
+  echo "$as_me:3807: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:3807: \"$ac_try\"") >&5
+  { (eval echo "$as_me:3810: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:3810: \$? = $ac_status" >&5
+  echo "$as_me:3813: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   lt_cv_cc_needs_belf=yes
 else
@@ -3823,7 +3826,7 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 fi
-echo "$as_me:3826: result: $lt_cv_cc_needs_belf" >&5
+echo "$as_me:3829: result: $lt_cv_cc_needs_belf" >&5
 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
@@ -3835,7 +3838,7 @@
   if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
-echo "$as_me:3838: checking for $ac_word" >&5
+echo "$as_me:3841: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3850,7 +3853,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
-echo "$as_me:3853: found $ac_dir/$ac_word" >&5
+echo "$as_me:3856: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3858,10 +3861,10 @@
 fi
 DLLTOOL=$ac_cv_prog_DLLTOOL
 if test -n "$DLLTOOL"; then
-  echo "$as_me:3861: result: $DLLTOOL" >&5
+  echo "$as_me:3864: result: $DLLTOOL" >&5
 echo "${ECHO_T}$DLLTOOL" >&6
 else
-  echo "$as_me:3864: result: no" >&5
+  echo "$as_me:3867: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3870,7 +3873,7 @@
   ac_ct_DLLTOOL=$DLLTOOL
   # Extract the first word of "dlltool", so it can be a program name with args.
 set dummy dlltool; ac_word=$2
-echo "$as_me:3873: checking for $ac_word" >&5
+echo "$as_me:3876: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3885,7 +3888,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
-echo "$as_me:3888: found $ac_dir/$ac_word" >&5
+echo "$as_me:3891: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3894,10 +3897,10 @@
 fi
 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 if test -n "$ac_ct_DLLTOOL"; then
-  echo "$as_me:3897: result: $ac_ct_DLLTOOL" >&5
+  echo "$as_me:3900: result: $ac_ct_DLLTOOL" >&5
 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 else
-  echo "$as_me:3900: result: no" >&5
+  echo "$as_me:3903: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3909,7 +3912,7 @@
   if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 set dummy ${ac_tool_prefix}as; ac_word=$2
-echo "$as_me:3912: checking for $ac_word" >&5
+echo "$as_me:3915: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_AS+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3924,7 +3927,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_AS="${ac_tool_prefix}as"
-echo "$as_me:3927: found $ac_dir/$ac_word" >&5
+echo "$as_me:3930: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3932,10 +3935,10 @@
 fi
 AS=$ac_cv_prog_AS
 if test -n "$AS"; then
-  echo "$as_me:3935: result: $AS" >&5
+  echo "$as_me:3938: result: $AS" >&5
 echo "${ECHO_T}$AS" >&6
 else
-  echo "$as_me:3938: result: no" >&5
+  echo "$as_me:3941: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3944,7 +3947,7 @@
   ac_ct_AS=$AS
   # Extract the first word of "as", so it can be a program name with args.
 set dummy as; ac_word=$2
-echo "$as_me:3947: checking for $ac_word" >&5
+echo "$as_me:3950: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3959,7 +3962,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_AS="as"
-echo "$as_me:3962: found $ac_dir/$ac_word" >&5
+echo "$as_me:3965: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -3968,10 +3971,10 @@
 fi
 ac_ct_AS=$ac_cv_prog_ac_ct_AS
 if test -n "$ac_ct_AS"; then
-  echo "$as_me:3971: result: $ac_ct_AS" >&5
+  echo "$as_me:3974: result: $ac_ct_AS" >&5
 echo "${ECHO_T}$ac_ct_AS" >&6
 else
-  echo "$as_me:3974: result: no" >&5
+  echo "$as_me:3977: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -3983,7 +3986,7 @@
   if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 set dummy ${ac_tool_prefix}objdump; ac_word=$2
-echo "$as_me:3986: checking for $ac_word" >&5
+echo "$as_me:3989: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3998,7 +4001,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
-echo "$as_me:4001: found $ac_dir/$ac_word" >&5
+echo "$as_me:4004: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -4006,10 +4009,10 @@
 fi
 OBJDUMP=$ac_cv_prog_OBJDUMP
 if test -n "$OBJDUMP"; then
-  echo "$as_me:4009: result: $OBJDUMP" >&5
+  echo "$as_me:4012: result: $OBJDUMP" >&5
 echo "${ECHO_T}$OBJDUMP" >&6
 else
-  echo "$as_me:4012: result: no" >&5
+  echo "$as_me:4015: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -4018,7 +4021,7 @@
   ac_ct_OBJDUMP=$OBJDUMP
   # Extract the first word of "objdump", so it can be a program name with args.
 set dummy objdump; ac_word=$2
-echo "$as_me:4021: checking for $ac_word" >&5
+echo "$as_me:4024: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4033,7 +4036,7 @@
   test -z "$ac_dir" && ac_dir=.
   $as_executable_p "$ac_dir/$ac_word" || continue
 ac_cv_prog_ac_ct_OBJDUMP="objdump"
-echo "$as_me:4036: found $ac_dir/$ac_word" >&5
+echo "$as_me:4039: found $ac_dir/$ac_word" >&5
 break
 done
 
@@ -4042,10 +4045,10 @@
 fi
 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 if test -n "$ac_ct_OBJDUMP"; then
-  echo "$as_me:4045: result: $ac_ct_OBJDUMP" >&5
+  echo "$as_me:4048: result: $ac_ct_OBJDUMP" >&5
 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 else
-  echo "$as_me:4048: result: no" >&5
+  echo "$as_me:4051: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -4056,13 +4059,13 @@
 
   # recent cygwin and mingw systems supply a stub DllMain which the user
   # can override, but on older systems we have to supply one
-  echo "$as_me:4059: checking if libtool should supply DllMain function" >&5
+  echo "$as_me:4062: checking if libtool should supply DllMain function" >&5
 echo $ECHO_N "checking if libtool should supply DllMain function... $ECHO_C" >&6
 if test "${lt_cv_need_dllmain+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 4065 "configure"
+#line 4068 "configure"
 #include "confdefs.h"
 
 int
@@ -4075,16 +4078,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:4078: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4081: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:4081: \$? = $ac_status" >&5
+  echo "$as_me:4084: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:4084: \"$ac_try\"") >&5
+  { (eval echo "$as_me:4087: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:4087: \$? = $ac_status" >&5
+  echo "$as_me:4090: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   lt_cv_need_dllmain=no
 else
@@ -4094,7 +4097,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:4097: result: $lt_cv_need_dllmain" >&5
+echo "$as_me:4100: result: $lt_cv_need_dllmain" >&5
 echo "${ECHO_T}$lt_cv_need_dllmain" >&6
 
   case $host/$CC in
@@ -4103,13 +4106,13 @@
     # require "-mdll"
     SAVE_CFLAGS="$CFLAGS"
     CFLAGS="$CFLAGS -mdll"
-    echo "$as_me:4106: checking how to link DLLs" >&5
+    echo "$as_me:4109: checking how to link DLLs" >&5
 echo $ECHO_N "checking how to link DLLs... $ECHO_C" >&6
 if test "${lt_cv_cc_dll_switch+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 4112 "configure"
+#line 4115 "configure"
 #include "confdefs.h"
 
 int
@@ -4121,16 +4124,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:4124: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4127: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:4127: \$? = $ac_status" >&5
+  echo "$as_me:4130: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:4130: \"$ac_try\"") >&5
+  { (eval echo "$as_me:4133: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:4133: \$? = $ac_status" >&5
+  echo "$as_me:4136: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   lt_cv_cc_dll_switch=-mdll
 else
@@ -4140,7 +4143,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:4143: result: $lt_cv_cc_dll_switch" >&5
+echo "$as_me:4146: result: $lt_cv_cc_dll_switch" >&5
 echo "${ECHO_T}$lt_cv_cc_dll_switch" >&6
     CFLAGS="$SAVE_CFLAGS" ;;
   *-*-cygwin* | *-*-pw32*)
@@ -4242,7 +4245,7 @@
 set dummy $CC
 compiler="$2"
 
-echo "$as_me:4245: checking for objdir" >&5
+echo "$as_me:4248: checking for objdir" >&5
 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 rm -f .libs 2>/dev/null
 mkdir .libs 2>/dev/null
@@ -4253,7 +4256,7 @@
   objdir=_libs
 fi
 rmdir .libs 2>/dev/null
-echo "$as_me:4256: result: $objdir" >&5
+echo "$as_me:4259: result: $objdir" >&5
 echo "${ECHO_T}$objdir" >&6
 
 # Check whether --with-pic or --without-pic was given.
@@ -4268,7 +4271,7 @@
 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
 # in isolation, and that seeing it set (from the cache) indicates that
 # the associated values are set (in the cache) correctly too.
-echo "$as_me:4271: checking for $compiler option to produce PIC" >&5
+echo "$as_me:4274: checking for $compiler option to produce PIC" >&5
 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 if test "${lt_cv_prog_cc_pic+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4411,14 +4414,14 @@
 fi
 
 if test -z "$lt_cv_prog_cc_pic"; then
-  echo "$as_me:4414: result: none" >&5
+  echo "$as_me:4417: result: none" >&5
 echo "${ECHO_T}none" >&6
 else
-  echo "$as_me:4417: result: $lt_cv_prog_cc_pic" >&5
+  echo "$as_me:4420: result: $lt_cv_prog_cc_pic" >&5
 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
 
   # Check to make sure the pic_flag actually works.
-  echo "$as_me:4421: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
+  echo "$as_me:4424: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4426,7 +4429,7 @@
       save_CFLAGS="$CFLAGS"
     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
     cat >conftest.$ac_ext <<_ACEOF
-#line 4429 "configure"
+#line 4432 "configure"
 #include "confdefs.h"
 
 int
@@ -4438,16 +4441,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4441: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4444: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:4444: \$? = $ac_status" >&5
+  echo "$as_me:4447: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:4447: \"$ac_try\"") >&5
+  { (eval echo "$as_me:4450: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:4450: \$? = $ac_status" >&5
+  echo "$as_me:4453: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
         case $host_os in
       hpux9* | hpux10* | hpux11*)
@@ -4483,23 +4486,23 @@
     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
   fi
 
-  echo "$as_me:4486: result: $lt_cv_prog_cc_pic_works" >&5
+  echo "$as_me:4489: result: $lt_cv_prog_cc_pic_works" >&5
 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
 fi
 
 # Check for any special shared library compilation flags.
 if test -n "$lt_cv_prog_cc_shlib"; then
-  { echo "$as_me:4492: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
+  { echo "$as_me:4495: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
   if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
   else
-   { echo "$as_me:4496: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
+   { echo "$as_me:4499: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
     lt_cv_prog_cc_can_build_shared=no
   fi
 fi
 
-echo "$as_me:4502: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
+echo "$as_me:4505: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
 if test "${lt_cv_prog_cc_static_works+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4508,7 +4511,7 @@
   save_LDFLAGS="$LDFLAGS"
   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
   cat >conftest.$ac_ext <<_ACEOF
-#line 4511 "configure"
+#line 4514 "configure"
 #include "confdefs.h"
 
 int
@@ -4520,16 +4523,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:4523: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4526: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:4526: \$? = $ac_status" >&5
+  echo "$as_me:4529: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:4529: \"$ac_try\"") >&5
+  { (eval echo "$as_me:4532: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:4532: \$? = $ac_status" >&5
+  echo "$as_me:4535: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   lt_cv_prog_cc_static_works=yes
 else
@@ -4543,7 +4546,7 @@
 
 # Belt *and* braces to stop my trousers falling down:
 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
-echo "$as_me:4546: result: $lt_cv_prog_cc_static_works" >&5
+echo "$as_me:4549: result: $lt_cv_prog_cc_static_works" >&5
 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
 
 pic_flag="$lt_cv_prog_cc_pic"
@@ -4554,7 +4557,7 @@
 can_build_shared="$lt_cv_prog_cc_can_build_shared"
 
 # Check to see if options -o and -c are simultaneously supported by compiler
-echo "$as_me:4557: checking if $compiler supports -c -o file.$ac_objext" >&5
+echo "$as_me:4560: checking if $compiler supports -c -o file.$ac_objext" >&5
 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 if test "${lt_cv_compiler_c_o+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4574,7 +4577,7 @@
 save_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
 compiler_c_o=no
-if { (eval echo configure:4577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:4580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
   # The compiler can only warn and ignore the option if not recognized
   # So say no if there are warnings
   if test -s out/conftest.err; then
@@ -4598,12 +4601,12 @@
 fi
 
 compiler_c_o=$lt_cv_compiler_c_o
-echo "$as_me:4601: result: $compiler_c_o" >&5
+echo "$as_me:4604: result: $compiler_c_o" >&5
 echo "${ECHO_T}$compiler_c_o" >&6
 
 if test x"$compiler_c_o" = x"yes"; then
   # Check to see if we can write to a .lo
-  echo "$as_me:4606: checking if $compiler supports -c -o file.lo" >&5
+  echo "$as_me:4609: checking if $compiler supports -c -o file.lo" >&5
 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
   if test "${lt_cv_compiler_o_lo+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4615,7 +4618,7 @@
   save_objext="$ac_objext"
   ac_objext=lo
   cat >conftest.$ac_ext <<_ACEOF
-#line 4618 "configure"
+#line 4621 "configure"
 #include "confdefs.h"
 
 int
@@ -4627,16 +4630,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4630: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4633: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:4633: \$? = $ac_status" >&5
+  echo "$as_me:4636: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:4636: \"$ac_try\"") >&5
+  { (eval echo "$as_me:4639: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:4639: \$? = $ac_status" >&5
+  echo "$as_me:4642: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
       # The compiler can only warn and ignore the option if not recognized
     # So say no if there are warnings
@@ -4657,7 +4660,7 @@
 fi
 
   compiler_o_lo=$lt_cv_compiler_o_lo
-  echo "$as_me:4660: result: $compiler_o_lo" >&5
+  echo "$as_me:4663: result: $compiler_o_lo" >&5
 echo "${ECHO_T}$compiler_o_lo" >&6
 else
   compiler_o_lo=no
@@ -4667,7 +4670,7 @@
 hard_links="nottested"
 if test "$compiler_c_o" = no && test "$need_locks" != no; then
   # do not overwrite the value of need_locks provided by the user
-  echo "$as_me:4670: checking if we can lock with hard links" >&5
+  echo "$as_me:4673: checking if we can lock with hard links" >&5
 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   hard_links=yes
   $rm conftest*
@@ -4675,10 +4678,10 @@
   touch conftest.a
   ln conftest.a conftest.b 2>&5 || hard_links=no
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
-  echo "$as_me:4678: result: $hard_links" >&5
+  echo "$as_me:4681: result: $hard_links" >&5
 echo "${ECHO_T}$hard_links" >&6
   if test "$hard_links" = no; then
-    { echo "$as_me:4681: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+    { echo "$as_me:4684: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     need_locks=warn
   fi
@@ -4688,14 +4691,14 @@
 
 if test "$GCC" = yes; then
   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
-  echo "$as_me:4691: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+  echo "$as_me:4694: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   echo "int some_variable = 0;" > conftest.$ac_ext
   save_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
   compiler_rtti_exceptions=no
   cat >conftest.$ac_ext <<_ACEOF
-#line 4698 "configure"
+#line 4701 "configure"
 #include "confdefs.h"
 
 int
@@ -4707,16 +4710,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4710: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4713: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:4713: \$? = $ac_status" >&5
+  echo "$as_me:4716: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:4716: \"$ac_try\"") >&5
+  { (eval echo "$as_me:4719: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:4719: \$? = $ac_status" >&5
+  echo "$as_me:4722: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
       # The compiler can only warn and ignore the option if not recognized
     # So say no if there are warnings
@@ -4732,7 +4735,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
   CFLAGS="$save_CFLAGS"
-  echo "$as_me:4735: result: $compiler_rtti_exceptions" >&5
+  echo "$as_me:4738: result: $compiler_rtti_exceptions" >&5
 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
 
   if test "$compiler_rtti_exceptions" = "yes"; then
@@ -4743,7 +4746,7 @@
 fi
 
 # See if the linker supports building shared libraries.
-echo "$as_me:4746: checking whether the linker ($LD) supports shared libraries" >&5
+echo "$as_me:4749: checking whether the linker ($LD) supports shared libraries" >&5
 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
 
 allow_undefined_flag=
@@ -5438,12 +5441,12 @@
     ;;
   esac
 fi
-echo "$as_me:5441: result: $ld_shlibs" >&5
+echo "$as_me:5444: result: $ld_shlibs" >&5
 echo "${ECHO_T}$ld_shlibs" >&6
 test "$ld_shlibs" = no && can_build_shared=no
 
 # Check hardcoding attributes.
-echo "$as_me:5446: checking how to hardcode library paths into programs" >&5
+echo "$as_me:5449: checking how to hardcode library paths into programs" >&5
 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 hardcode_action=
 if test -n "$hardcode_libdir_flag_spec" || \
@@ -5467,20 +5470,20 @@
   # directories.
   hardcode_action=unsupported
 fi
-echo "$as_me:5470: result: $hardcode_action" >&5
+echo "$as_me:5473: result: $hardcode_action" >&5
 echo "${ECHO_T}$hardcode_action" >&6
 
 striplib=
 old_striplib=
-echo "$as_me:5475: checking whether stripping libraries is possible" >&5
+echo "$as_me:5478: checking whether stripping libraries is possible" >&5
 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
-  echo "$as_me:5480: result: yes" >&5
+  echo "$as_me:5483: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 else
-  echo "$as_me:5483: result: no" >&5
+  echo "$as_me:5486: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -5488,7 +5491,7 @@
 test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
 # PORTME Fill in your ld.so characteristics
-echo "$as_me:5491: checking dynamic linker characteristics" >&5
+echo "$as_me:5494: checking dynamic linker characteristics" >&5
 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 library_names_spec=
 libname_spec='lib$name'
@@ -5895,17 +5898,17 @@
   dynamic_linker=no
   ;;
 esac
-echo "$as_me:5898: result: $dynamic_linker" >&5
+echo "$as_me:5901: result: $dynamic_linker" >&5
 echo "${ECHO_T}$dynamic_linker" >&6
 test "$dynamic_linker" = no && can_build_shared=no
 
 # Report the final consequences.
-echo "$as_me:5903: checking if libtool supports shared libraries" >&5
+echo "$as_me:5906: checking if libtool supports shared libraries" >&5
 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
-echo "$as_me:5905: result: $can_build_shared" >&5
+echo "$as_me:5908: result: $can_build_shared" >&5
 echo "${ECHO_T}$can_build_shared" >&6
 
-echo "$as_me:5908: checking whether to build shared libraries" >&5
+echo "$as_me:5911: checking whether to build shared libraries" >&5
 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 test "$can_build_shared" = "no" && enable_shared=no
 
@@ -5926,14 +5929,14 @@
   fi
   ;;
 esac
-echo "$as_me:5929: result: $enable_shared" >&5
+echo "$as_me:5932: result: $enable_shared" >&5
 echo "${ECHO_T}$enable_shared" >&6
 
-echo "$as_me:5932: checking whether to build static libraries" >&5
+echo "$as_me:5935: checking whether to build static libraries" >&5
 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 # Make sure either enable_shared or enable_static is yes.
 test "$enable_shared" = yes || enable_static=yes
-echo "$as_me:5936: result: $enable_static" >&5
+echo "$as_me:5939: result: $enable_static" >&5
 echo "${ECHO_T}$enable_static" >&6
 
 if test "$hardcode_action" = relink; then
@@ -5971,13 +5974,13 @@
    ;;
 
   *)
-    echo "$as_me:5974: checking for shl_load" >&5
+    echo "$as_me:5977: checking for shl_load" >&5
 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 if test "${ac_cv_func_shl_load+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 5980 "configure"
+#line 5983 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char shl_load (); below.  */
@@ -6008,16 +6011,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:6011: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6014: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6014: \$? = $ac_status" >&5
+  echo "$as_me:6017: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:6017: \"$ac_try\"") >&5
+  { (eval echo "$as_me:6020: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:6020: \$? = $ac_status" >&5
+  echo "$as_me:6023: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_shl_load=yes
 else
@@ -6027,12 +6030,12 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:6030: result: $ac_cv_func_shl_load" >&5
+echo "$as_me:6033: result: $ac_cv_func_shl_load" >&5
 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 if test $ac_cv_func_shl_load = yes; then
   lt_cv_dlopen="shl_load"
 else
-  echo "$as_me:6035: checking for shl_load in -ldld" >&5
+  echo "$as_me:6038: checking for shl_load in -ldld" >&5
 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6040,7 +6043,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldld  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 6043 "configure"
+#line 6046 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -6059,16 +6062,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:6062: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6065: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6065: \$? = $ac_status" >&5
+  echo "$as_me:6068: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:6068: \"$ac_try\"") >&5
+  { (eval echo "$as_me:6071: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:6071: \$? = $ac_status" >&5
+  echo "$as_me:6074: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_dld_shl_load=yes
 else
@@ -6079,18 +6082,18 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:6082: result: $ac_cv_lib_dld_shl_load" >&5
+echo "$as_me:6085: result: $ac_cv_lib_dld_shl_load" >&5
 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 if test $ac_cv_lib_dld_shl_load = yes; then
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 else
-  echo "$as_me:6087: checking for dlopen" >&5
+  echo "$as_me:6090: checking for dlopen" >&5
 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 if test "${ac_cv_func_dlopen+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 6093 "configure"
+#line 6096 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char dlopen (); below.  */
@@ -6121,16 +6124,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:6124: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6127: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6127: \$? = $ac_status" >&5
+  echo "$as_me:6130: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:6130: \"$ac_try\"") >&5
+  { (eval echo "$as_me:6133: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:6133: \$? = $ac_status" >&5
+  echo "$as_me:6136: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_dlopen=yes
 else
@@ -6140,12 +6143,12 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:6143: result: $ac_cv_func_dlopen" >&5
+echo "$as_me:6146: result: $ac_cv_func_dlopen" >&5
 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 if test $ac_cv_func_dlopen = yes; then
   lt_cv_dlopen="dlopen"
 else
-  echo "$as_me:6148: checking for dlopen in -ldl" >&5
+  echo "$as_me:6151: checking for dlopen in -ldl" >&5
 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6153,7 +6156,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldl  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 6156 "configure"
+#line 6159 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -6172,16 +6175,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:6175: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6178: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6178: \$? = $ac_status" >&5
+  echo "$as_me:6181: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:6181: \"$ac_try\"") >&5
+  { (eval echo "$as_me:6184: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:6184: \$? = $ac_status" >&5
+  echo "$as_me:6187: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_dl_dlopen=yes
 else
@@ -6192,12 +6195,12 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:6195: result: $ac_cv_lib_dl_dlopen" >&5
+echo "$as_me:6198: result: $ac_cv_lib_dl_dlopen" >&5
 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 if test $ac_cv_lib_dl_dlopen = yes; then
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
-  echo "$as_me:6200: checking for dlopen in -lsvld" >&5
+  echo "$as_me:6203: checking for dlopen in -lsvld" >&5
 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6205,7 +6208,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsvld  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 6208 "configure"
+#line 6211 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -6224,16 +6227,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:6227: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6230: \$? = $ac_status" >&5
+  echo "$as_me:6233: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:6233: \"$ac_try\"") >&5
+  { (eval echo "$as_me:6236: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:6236: \$? = $ac_status" >&5
+  echo "$as_me:6239: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_svld_dlopen=yes
 else
@@ -6244,12 +6247,12 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:6247: result: $ac_cv_lib_svld_dlopen" >&5
+echo "$as_me:6250: result: $ac_cv_lib_svld_dlopen" >&5
 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 if test $ac_cv_lib_svld_dlopen = yes; then
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 else
-  echo "$as_me:6252: checking for dld_link in -ldld" >&5
+  echo "$as_me:6255: checking for dld_link in -ldld" >&5
 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6257,7 +6260,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldld  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 6260 "configure"
+#line 6263 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -6276,16 +6279,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:6279: \"$ac_link\"") >&5
+if { (eval echo "$as_me:6282: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6282: \$? = $ac_status" >&5
+  echo "$as_me:6285: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:6285: \"$ac_try\"") >&5
+  { (eval echo "$as_me:6288: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:6288: \$? = $ac_status" >&5
+  echo "$as_me:6291: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_dld_dld_link=yes
 else
@@ -6296,7 +6299,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:6299: result: $ac_cv_lib_dld_dld_link" >&5
+echo "$as_me:6302: result: $ac_cv_lib_dld_dld_link" >&5
 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 if test $ac_cv_lib_dld_dld_link = yes; then
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
@@ -6332,7 +6335,7 @@
     save_LIBS="$LIBS"
     LIBS="$lt_cv_dlopen_libs $LIBS"
 
-    echo "$as_me:6335: checking whether a program can dlopen itself" >&5
+    echo "$as_me:6338: checking whether a program can dlopen itself" >&5
 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 if test "${lt_cv_dlopen_self+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6343,7 +6346,7 @@
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 6346 "configure"
+#line 6349 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -6404,10 +6407,10 @@
     exit (status);
 }
 EOF
-  if { (eval echo "$as_me:6407: \"$ac_link\"") >&5
+  if { (eval echo "$as_me:6410: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6410: \$? = $ac_status" >&5
+  echo "$as_me:6413: \$? = $ac_status" >&5
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
     (./conftest; exit; ) 2>/dev/null
     lt_status=$?
@@ -6424,12 +6427,12 @@
 rm -fr conftest*
 
 fi
-echo "$as_me:6427: result: $lt_cv_dlopen_self" >&5
+echo "$as_me:6430: result: $lt_cv_dlopen_self" >&5
 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
     if test "x$lt_cv_dlopen_self" = xyes; then
       LDFLAGS="$LDFLAGS $link_static_flag"
-      echo "$as_me:6432: checking whether a statically linked program can dlopen itself" >&5
+      echo "$as_me:6435: checking whether a statically linked program can dlopen itself" >&5
 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 if test "${lt_cv_dlopen_self_static+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6440,7 +6443,7 @@
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 6443 "configure"
+#line 6446 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -6501,10 +6504,10 @@
     exit (status);
 }
 EOF
-  if { (eval echo "$as_me:6504: \"$ac_link\"") >&5
+  if { (eval echo "$as_me:6507: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:6507: \$? = $ac_status" >&5
+  echo "$as_me:6510: \$? = $ac_status" >&5
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
     (./conftest; exit; ) 2>/dev/null
     lt_status=$?
@@ -6521,7 +6524,7 @@
 rm -fr conftest*
 
 fi
-echo "$as_me:6524: result: $lt_cv_dlopen_self_static" >&5
+echo "$as_me:6527: result: $lt_cv_dlopen_self_static" >&5
 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
     fi
 
@@ -6551,7 +6554,7 @@
     # Test whether the compiler implicitly links with -lc since on some
     # systems, -lgcc has to come before -lc. If gcc already passes -lc
     # to ld, don't add -lc before -lgcc.
-    echo "$as_me:6554: checking whether -lc should be explicitly linked in" >&5
+    echo "$as_me:6557: checking whether -lc should be explicitly linked in" >&5
 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6559,10 +6562,10 @@
   $rm conftest*
     echo 'static int dummy;' > conftest.$ac_ext
 
-    if { (eval echo "$as_me:6562: \"$ac_compile\"") >&5
+    if { (eval echo "$as_me:6565: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:6565: \$? = $ac_status" >&5
+  echo "$as_me:6568: \$? = $ac_status" >&5
   (exit $ac_status); }; then
       soname=conftest
       lib=conftest
@@ -6576,10 +6579,10 @@
       libname=conftest
       save_allow_undefined_flag=$allow_undefined_flag
       allow_undefined_flag=
-      if { (eval echo "$as_me:6579: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+      if { (eval echo "$as_me:6582: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   ac_status=$?
-  echo "$as_me:6582: \$? = $ac_status" >&5
+  echo "$as_me:6585: \$? = $ac_status" >&5
   (exit $ac_status); }
       then
 	lt_cv_archive_cmds_need_lc=no
@@ -6592,7 +6595,7 @@
     fi
 fi
 
-    echo "$as_me:6595: result: $lt_cv_archive_cmds_need_lc" >&5
+    echo "$as_me:6598: result: $lt_cv_archive_cmds_need_lc" >&5
 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
     ;;
   esac
@@ -7272,6 +7275,12 @@
   build_directx_target=$enableval
 fi;
 
+# Check whether --enable-quartz or --disable-quartz was given.
+if test "${enable_quartz+set}" = set; then
+  enableval="$enable_quartz"
+  build_quartz_target=$enableval
+fi;
+
 # Check whether --enable-multi or --disable-multi was given.
 if test "${enable_multi+set}" = set; then
   enableval="$enable_multi"
@@ -7450,13 +7459,13 @@
 ac_header_dirent=no
 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
-echo "$as_me:7453: checking for $ac_hdr that defines DIR" >&5
+echo "$as_me:7462: checking for $ac_hdr that defines DIR" >&5
 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 7459 "configure"
+#line 7468 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <$ac_hdr>
@@ -7471,16 +7480,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:7474: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:7483: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:7477: \$? = $ac_status" >&5
+  echo "$as_me:7486: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:7480: \"$ac_try\"") >&5
+  { (eval echo "$as_me:7489: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:7483: \$? = $ac_status" >&5
+  echo "$as_me:7492: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   eval "$as_ac_Header=yes"
 else
@@ -7490,7 +7499,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$as_me:7493: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:7502: result: `eval echo '${'$as_ac_Header'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -7503,7 +7512,7 @@
 done
 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 if test $ac_header_dirent = dirent.h; then
-  echo "$as_me:7506: checking for opendir in -ldir" >&5
+  echo "$as_me:7515: checking for opendir in -ldir" >&5
 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
 if test "${ac_cv_lib_dir_opendir+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7511,7 +7520,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldir  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 7514 "configure"
+#line 7523 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -7530,16 +7539,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:7533: \"$ac_link\"") >&5
+if { (eval echo "$as_me:7542: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:7536: \$? = $ac_status" >&5
+  echo "$as_me:7545: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:7539: \"$ac_try\"") >&5
+  { (eval echo "$as_me:7548: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:7542: \$? = $ac_status" >&5
+  echo "$as_me:7551: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_dir_opendir=yes
 else
@@ -7550,14 +7559,14 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:7553: result: $ac_cv_lib_dir_opendir" >&5
+echo "$as_me:7562: result: $ac_cv_lib_dir_opendir" >&5
 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
 if test $ac_cv_lib_dir_opendir = yes; then
   LIBS="$LIBS -ldir"
 fi
 
 else
-  echo "$as_me:7560: checking for opendir in -lx" >&5
+  echo "$as_me:7569: checking for opendir in -lx" >&5
 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
 if test "${ac_cv_lib_x_opendir+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7565,7 +7574,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lx  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 7568 "configure"
+#line 7577 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -7584,16 +7593,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:7587: \"$ac_link\"") >&5
+if { (eval echo "$as_me:7596: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:7590: \$? = $ac_status" >&5
+  echo "$as_me:7599: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:7593: \"$ac_try\"") >&5
+  { (eval echo "$as_me:7602: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:7596: \$? = $ac_status" >&5
+  echo "$as_me:7605: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_x_opendir=yes
 else
@@ -7604,7 +7613,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:7607: result: $ac_cv_lib_x_opendir" >&5
+echo "$as_me:7616: result: $ac_cv_lib_x_opendir" >&5
 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
 if test $ac_cv_lib_x_opendir = yes; then
   LIBS="$LIBS -lx"
@@ -7612,13 +7621,13 @@
 
 fi
 
-echo "$as_me:7615: checking for ANSI C header files" >&5
+echo "$as_me:7624: checking for ANSI C header files" >&5
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 if test "${ac_cv_header_stdc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 7621 "configure"
+#line 7630 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 #include <stdarg.h>
@@ -7626,13 +7635,13 @@
 #include <float.h>
 
 _ACEOF
-if { (eval echo "$as_me:7629: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:7638: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:7635: \$? = $ac_status" >&5
+  echo "$as_me:7644: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7654,7 +7663,7 @@
 if test $ac_cv_header_stdc = yes; then
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   cat >conftest.$ac_ext <<_ACEOF
-#line 7657 "configure"
+#line 7666 "configure"
 #include "confdefs.h"
 #include <string.h>
 
@@ -7672,7 +7681,7 @@
 if test $ac_cv_header_stdc = yes; then
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   cat >conftest.$ac_ext <<_ACEOF
-#line 7675 "configure"
+#line 7684 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 
@@ -7693,7 +7702,7 @@
   :
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 7696 "configure"
+#line 7705 "configure"
 #include "confdefs.h"
 #include <ctype.h>
 #if ((' ' & 0x0FF) == 0x020)
@@ -7719,15 +7728,15 @@
 }
 _ACEOF
 rm -f conftest$ac_exeext
-if { (eval echo "$as_me:7722: \"$ac_link\"") >&5
+if { (eval echo "$as_me:7731: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:7725: \$? = $ac_status" >&5
+  echo "$as_me:7734: \$? = $ac_status" >&5
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-  { (eval echo "$as_me:7727: \"$ac_try\"") >&5
+  { (eval echo "$as_me:7736: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:7730: \$? = $ac_status" >&5
+  echo "$as_me:7739: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   :
 else
@@ -7740,7 +7749,7 @@
 fi
 fi
 fi
-echo "$as_me:7743: result: $ac_cv_header_stdc" >&5
+echo "$as_me:7752: result: $ac_cv_header_stdc" >&5
 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 if test $ac_cv_header_stdc = yes; then
 
@@ -7750,13 +7759,13 @@
 
 fi
 
-echo "$as_me:7753: checking for sys/wait.h that is POSIX.1 compatible" >&5
+echo "$as_me:7762: checking for sys/wait.h that is POSIX.1 compatible" >&5
 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
 if test "${ac_cv_header_sys_wait_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 7759 "configure"
+#line 7768 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/wait.h>
@@ -7778,16 +7787,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:7781: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:7790: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:7784: \$? = $ac_status" >&5
+  echo "$as_me:7793: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:7787: \"$ac_try\"") >&5
+  { (eval echo "$as_me:7796: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:7790: \$? = $ac_status" >&5
+  echo "$as_me:7799: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_header_sys_wait_h=yes
 else
@@ -7797,7 +7806,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$as_me:7800: result: $ac_cv_header_sys_wait_h" >&5
+echo "$as_me:7809: result: $ac_cv_header_sys_wait_h" >&5
 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 if test $ac_cv_header_sys_wait_h = yes; then
 
@@ -7811,26 +7820,27 @@
 sys/select.h pthread.h sys/ioctl.h signal.h sys/time.h sys/shm.h sys/ipc.h \
 sys/wait.h asm/io.h sys/io.h sys/kd.h linux/kd.h sys/vt.h linux/vt.h \
 linux/kdev_t.h linux/major.h glide.h glide/glide.h kgimon.h sys/un.h \
-sys/socket.h netinet/in.h netdb.h windows.h ddraw.h vgl.h
+sys/socket.h netinet/in.h netdb.h windows.h ddraw.h vgl.h \
+ApplicationServices/ApplicationServices.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:7817: checking for $ac_header" >&5
+echo "$as_me:7827: checking for $ac_header" >&5
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 7823 "configure"
+#line 7833 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 _ACEOF
-if { (eval echo "$as_me:7827: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:7837: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:7833: \$? = $ac_status" >&5
+  echo "$as_me:7843: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7849,7 +7859,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:7852: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:7862: result: `eval echo '${'$as_ac_Header'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -7865,7 +7875,7 @@
 CC="$SHELL ./libtool $CC"
 save_LDFLAGS="$LDFLAGS"
 LDFLAGS="$LDFLAGS -lgg"
-echo "$as_me:7868: checking for giiInit in -lgii" >&5
+echo "$as_me:7878: checking for giiInit in -lgii" >&5
 echo $ECHO_N "checking for giiInit in -lgii... $ECHO_C" >&6
 if test "${ac_cv_lib_gii_giiInit+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7873,7 +7883,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgii  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 7876 "configure"
+#line 7886 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -7892,16 +7902,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:7895: \"$ac_link\"") >&5
+if { (eval echo "$as_me:7905: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:7898: \$? = $ac_status" >&5
+  echo "$as_me:7908: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:7901: \"$ac_try\"") >&5
+  { (eval echo "$as_me:7911: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:7904: \$? = $ac_status" >&5
+  echo "$as_me:7914: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_gii_giiInit=yes
 else
@@ -7912,10 +7922,10 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:7915: result: $ac_cv_lib_gii_giiInit" >&5
+echo "$as_me:7925: result: $ac_cv_lib_gii_giiInit" >&5
 echo "${ECHO_T}$ac_cv_lib_gii_giiInit" >&6
 if test $ac_cv_lib_gii_giiInit = yes; then
-  echo "$as_me:7918: checking for giiEventsQueued in -lgii" >&5
+  echo "$as_me:7928: checking for giiEventsQueued in -lgii" >&5
 echo $ECHO_N "checking for giiEventsQueued in -lgii... $ECHO_C" >&6
 if test "${ac_cv_lib_gii_giiEventsQueued+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7923,7 +7933,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgii  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 7926 "configure"
+#line 7936 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -7942,16 +7952,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:7945: \"$ac_link\"") >&5
+if { (eval echo "$as_me:7955: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:7948: \$? = $ac_status" >&5
+  echo "$as_me:7958: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:7951: \"$ac_try\"") >&5
+  { (eval echo "$as_me:7961: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:7954: \$? = $ac_status" >&5
+  echo "$as_me:7964: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_gii_giiEventsQueued=yes
 else
@@ -7962,12 +7972,12 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:7965: result: $ac_cv_lib_gii_giiEventsQueued" >&5
+echo "$as_me:7975: result: $ac_cv_lib_gii_giiEventsQueued" >&5
 echo "${ECHO_T}$ac_cv_lib_gii_giiEventsQueued" >&6
 if test $ac_cv_lib_gii_giiEventsQueued = yes; then
   foo=bar
 else
-  { { echo "$as_me:7970: error: You have an obsolete LibGII version installed!" >&5
+  { { echo "$as_me:7980: error: You have an obsolete LibGII version installed!" >&5
 echo "$as_me: error: You have an obsolete LibGII version installed!" >&2;}
    { (exit 1); exit 1; }; }
 
@@ -7985,7 +7995,7 @@
   gii_missing_part=yes
 fi
 
-echo "$as_me:7988: checking for $CC option to accept ANSI C" >&5
+echo "$as_me:7998: checking for $CC option to accept ANSI C" >&5
 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7993,7 +8003,7 @@
   ac_cv_prog_cc_stdc=no
 ac_save_CC=$CC
 cat >conftest.$ac_ext <<_ACEOF
-#line 7996 "configure"
+#line 8006 "configure"
 #include "confdefs.h"
 #include <stdarg.h>
 #include <stdio.h>
@@ -8042,16 +8052,16 @@
 do
   CC="$ac_save_CC $ac_arg"
   rm -f conftest.$ac_objext
-if { (eval echo "$as_me:8045: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:8055: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:8048: \$? = $ac_status" >&5
+  echo "$as_me:8058: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:8051: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8061: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8054: \$? = $ac_status" >&5
+  echo "$as_me:8064: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_prog_cc_stdc=$ac_arg
 break
@@ -8068,21 +8078,21 @@
 
 case "x$ac_cv_prog_cc_stdc" in
   x|xno)
-    echo "$as_me:8071: result: none needed" >&5
+    echo "$as_me:8081: result: none needed" >&5
 echo "${ECHO_T}none needed" >&6 ;;
   *)
-    echo "$as_me:8074: result: $ac_cv_prog_cc_stdc" >&5
+    echo "$as_me:8084: result: $ac_cv_prog_cc_stdc" >&5
 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     CC="$CC $ac_cv_prog_cc_stdc" ;;
 esac
 
-echo "$as_me:8079: checking for an ANSI C-conforming const" >&5
+echo "$as_me:8089: checking for an ANSI C-conforming const" >&5
 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 if test "${ac_cv_c_const+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8085 "configure"
+#line 8095 "configure"
 #include "confdefs.h"
 
 int
@@ -8140,16 +8150,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:8143: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:8153: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:8146: \$? = $ac_status" >&5
+  echo "$as_me:8156: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:8149: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8159: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8152: \$? = $ac_status" >&5
+  echo "$as_me:8162: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_c_const=yes
 else
@@ -8159,7 +8169,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$as_me:8162: result: $ac_cv_c_const" >&5
+echo "$as_me:8172: result: $ac_cv_c_const" >&5
 echo "${ECHO_T}$ac_cv_c_const" >&6
 if test $ac_cv_c_const = no; then
 
@@ -8169,7 +8179,7 @@
 
 fi
 
-echo "$as_me:8172: checking for inline" >&5
+echo "$as_me:8182: checking for inline" >&5
 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 if test "${ac_cv_c_inline+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8177,7 +8187,7 @@
   ac_cv_c_inline=no
 for ac_kw in inline __inline__ __inline; do
   cat >conftest.$ac_ext <<_ACEOF
-#line 8180 "configure"
+#line 8190 "configure"
 #include "confdefs.h"
 #ifndef __cplusplus
 static $ac_kw int static_foo () {return 0; }
@@ -8186,16 +8196,16 @@
 
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:8189: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:8199: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:8192: \$? = $ac_status" >&5
+  echo "$as_me:8202: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:8195: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8205: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8198: \$? = $ac_status" >&5
+  echo "$as_me:8208: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_c_inline=$ac_kw; break
 else
@@ -8206,7 +8216,7 @@
 done
 
 fi
-echo "$as_me:8209: result: $ac_cv_c_inline" >&5
+echo "$as_me:8219: result: $ac_cv_c_inline" >&5
 echo "${ECHO_T}$ac_cv_c_inline" >&6
 case $ac_cv_c_inline in
   inline | yes) ;;
@@ -8227,28 +8237,28 @@
                   inttypes.h stdint.h unistd.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:8230: checking for $ac_header" >&5
+echo "$as_me:8240: checking for $ac_header" >&5
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8236 "configure"
+#line 8246 "configure"
 #include "confdefs.h"
 $ac_includes_default
 #include <$ac_header>
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:8242: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:8252: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:8245: \$? = $ac_status" >&5
+  echo "$as_me:8255: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:8248: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8258: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8251: \$? = $ac_status" >&5
+  echo "$as_me:8261: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   eval "$as_ac_Header=yes"
 else
@@ -8258,7 +8268,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$as_me:8261: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:8271: result: `eval echo '${'$as_ac_Header'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -8268,13 +8278,13 @@
 fi
 done
 
-echo "$as_me:8271: checking for size_t" >&5
+echo "$as_me:8281: checking for size_t" >&5
 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 if test "${ac_cv_type_size_t+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8277 "configure"
+#line 8287 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
@@ -8289,16 +8299,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:8292: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:8302: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:8295: \$? = $ac_status" >&5
+  echo "$as_me:8305: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:8298: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8308: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8301: \$? = $ac_status" >&5
+  echo "$as_me:8311: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_type_size_t=yes
 else
@@ -8308,7 +8318,7 @@
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$as_me:8311: result: $ac_cv_type_size_t" >&5
+echo "$as_me:8321: result: $ac_cv_type_size_t" >&5
 echo "${ECHO_T}$ac_cv_type_size_t" >&6
 if test $ac_cv_type_size_t = yes; then
   :
@@ -8320,7 +8330,7 @@
 
 fi
 
-echo "$as_me:8323: checking for shared library extension" >&5
+echo "$as_me:8333: checking for shared library extension" >&5
 echo $ECHO_N "checking for shared library extension... $ECHO_C" >&6
 case "${host}" in
   *-*-mingw* | *-*-cygwin*)
@@ -8330,15 +8340,15 @@
 	DLLEXT="so"
         ;;
 esac
-echo "$as_me:8333: result: $DLLEXT" >&5
+echo "$as_me:8343: result: $DLLEXT" >&5
 echo "${ECHO_T}$DLLEXT" >&6
 
 if test "$ac_cv_header_sys_socket_h" = "yes"; then
 
-	echo "$as_me:8338: checking whether socklen_t is available" >&5
+	echo "$as_me:8348: checking whether socklen_t is available" >&5
 echo $ECHO_N "checking whether socklen_t is available... $ECHO_C" >&6
 	cat >conftest.$ac_ext <<_ACEOF
-#line 8341 "configure"
+#line 8351 "configure"
 #include "confdefs.h"
 
 		#include <sys/types.h>
@@ -8355,18 +8365,18 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:8358: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:8368: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:8361: \$? = $ac_status" >&5
+  echo "$as_me:8371: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:8364: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8374: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8367: \$? = $ac_status" >&5
+  echo "$as_me:8377: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  echo "$as_me:8369: result: yes" >&5
+  echo "$as_me:8379: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 		cat >>confdefs.h <<\EOF
 #define HAVE_SOCKLEN_T 1
@@ -8375,7 +8385,7 @@
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-echo "$as_me:8378: result: no" >&5
+echo "$as_me:8388: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
@@ -8383,13 +8393,13 @@
 
 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 # for constant arguments.  Useless!
-echo "$as_me:8386: checking for working alloca.h" >&5
+echo "$as_me:8396: checking for working alloca.h" >&5
 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 if test "${ac_cv_working_alloca_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8392 "configure"
+#line 8402 "configure"
 #include "confdefs.h"
 #include <alloca.h>
 int
@@ -8401,16 +8411,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:8404: \"$ac_link\"") >&5
+if { (eval echo "$as_me:8414: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:8407: \$? = $ac_status" >&5
+  echo "$as_me:8417: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:8410: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8420: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8413: \$? = $ac_status" >&5
+  echo "$as_me:8423: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_working_alloca_h=yes
 else
@@ -8420,7 +8430,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:8423: result: $ac_cv_working_alloca_h" >&5
+echo "$as_me:8433: result: $ac_cv_working_alloca_h" >&5
 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 if test $ac_cv_working_alloca_h = yes; then
 
@@ -8430,13 +8440,13 @@
 
 fi
 
-echo "$as_me:8433: checking for alloca" >&5
+echo "$as_me:8443: checking for alloca" >&5
 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 if test "${ac_cv_func_alloca_works+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8439 "configure"
+#line 8449 "configure"
 #include "confdefs.h"
 #ifdef __GNUC__
 # define alloca __builtin_alloca
@@ -8468,16 +8478,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:8471: \"$ac_link\"") >&5
+if { (eval echo "$as_me:8481: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:8474: \$? = $ac_status" >&5
+  echo "$as_me:8484: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:8477: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8487: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8480: \$? = $ac_status" >&5
+  echo "$as_me:8490: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_alloca_works=yes
 else
@@ -8487,7 +8497,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:8490: result: $ac_cv_func_alloca_works" >&5
+echo "$as_me:8500: result: $ac_cv_func_alloca_works" >&5
 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 
 if test $ac_cv_func_alloca_works = yes; then
@@ -8508,13 +8518,13 @@
 #define C_ALLOCA 1
 EOF
 
-echo "$as_me:8511: checking whether \`alloca.c' needs Cray hooks" >&5
+echo "$as_me:8521: checking whether \`alloca.c' needs Cray hooks" >&5
 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 if test "${ac_cv_os_cray+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8517 "configure"
+#line 8527 "configure"
 #include "confdefs.h"
 #if defined(CRAY) && ! defined(CRAY2)
 webecray
@@ -8532,18 +8542,18 @@
 rm -f conftest*
 
 fi
-echo "$as_me:8535: result: $ac_cv_os_cray" >&5
+echo "$as_me:8545: result: $ac_cv_os_cray" >&5
 echo "${ECHO_T}$ac_cv_os_cray" >&6
 if test $ac_cv_os_cray = yes; then
   for ac_func in _getb67 GETB67 getb67; do
     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:8540: checking for $ac_func" >&5
+echo "$as_me:8550: checking for $ac_func" >&5
 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$as_ac_var+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8546 "configure"
+#line 8556 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func (); below.  */
@@ -8574,16 +8584,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:8577: \"$ac_link\"") >&5
+if { (eval echo "$as_me:8587: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:8580: \$? = $ac_status" >&5
+  echo "$as_me:8590: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:8583: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8593: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8586: \$? = $ac_status" >&5
+  echo "$as_me:8596: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   eval "$as_ac_var=yes"
 else
@@ -8593,7 +8603,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:8596: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "$as_me:8606: result: `eval echo '${'$as_ac_var'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 if test `eval echo '${'$as_ac_var'}'` = yes; then
 
@@ -8607,7 +8617,7 @@
   done
 fi
 
-echo "$as_me:8610: checking stack direction for C alloca" >&5
+echo "$as_me:8620: checking stack direction for C alloca" >&5
 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 if test "${ac_cv_c_stack_direction+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8616,7 +8626,7 @@
   ac_cv_c_stack_direction=0
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8619 "configure"
+#line 8629 "configure"
 #include "confdefs.h"
 int
 find_stack_direction ()
@@ -8639,15 +8649,15 @@
 }
 _ACEOF
 rm -f conftest$ac_exeext
-if { (eval echo "$as_me:8642: \"$ac_link\"") >&5
+if { (eval echo "$as_me:8652: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:8645: \$? = $ac_status" >&5
+  echo "$as_me:8655: \$? = $ac_status" >&5
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-  { (eval echo "$as_me:8647: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8657: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8650: \$? = $ac_status" >&5
+  echo "$as_me:8660: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_c_stack_direction=1
 else
@@ -8659,7 +8669,7 @@
 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 fi
 fi
-echo "$as_me:8662: result: $ac_cv_c_stack_direction" >&5
+echo "$as_me:8672: result: $ac_cv_c_stack_direction" >&5
 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 
 cat >>confdefs.h <<EOF
@@ -8668,7 +8678,7 @@
 
 fi
 
-echo "$as_me:8671: checking for working memcmp" >&5
+echo "$as_me:8681: checking for working memcmp" >&5
 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
 if test "${ac_cv_func_memcmp_working+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8677,7 +8687,7 @@
   ac_cv_func_memcmp_working=no
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8680 "configure"
+#line 8690 "configure"
 #include "confdefs.h"
 
 int
@@ -8713,15 +8723,15 @@
 }
 _ACEOF
 rm -f conftest$ac_exeext
-if { (eval echo "$as_me:8716: \"$ac_link\"") >&5
+if { (eval echo "$as_me:8726: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:8719: \$? = $ac_status" >&5
+  echo "$as_me:8729: \$? = $ac_status" >&5
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-  { (eval echo "$as_me:8721: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8731: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8724: \$? = $ac_status" >&5
+  echo "$as_me:8734: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_memcmp_working=yes
 else
@@ -8733,30 +8743,30 @@
 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 fi
 fi
-echo "$as_me:8736: result: $ac_cv_func_memcmp_working" >&5
+echo "$as_me:8746: result: $ac_cv_func_memcmp_working" >&5
 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
 
 for ac_header in stdlib.h unistd.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:8743: checking for $ac_header" >&5
+echo "$as_me:8753: checking for $ac_header" >&5
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8749 "configure"
+#line 8759 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 _ACEOF
-if { (eval echo "$as_me:8753: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:8763: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:8759: \$? = $ac_status" >&5
+  echo "$as_me:8769: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8775,7 +8785,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:8778: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:8788: result: `eval echo '${'$as_ac_Header'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -8788,13 +8798,13 @@
 for ac_func in getpagesize
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:8791: checking for $ac_func" >&5
+echo "$as_me:8801: checking for $ac_func" >&5
 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$as_ac_var+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8797 "configure"
+#line 8807 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func (); below.  */
@@ -8825,16 +8835,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:8828: \"$ac_link\"") >&5
+if { (eval echo "$as_me:8838: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:8831: \$? = $ac_status" >&5
+  echo "$as_me:8841: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:8834: \"$ac_try\"") >&5
+  { (eval echo "$as_me:8844: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:8837: \$? = $ac_status" >&5
+  echo "$as_me:8847: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   eval "$as_ac_var=yes"
 else
@@ -8844,7 +8854,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:8847: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "$as_me:8857: result: `eval echo '${'$as_ac_var'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 if test `eval echo '${'$as_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -8854,7 +8864,7 @@
 fi
 done
 
-echo "$as_me:8857: checking for working mmap" >&5
+echo "$as_me:8867: checking for working mmap" >&5
 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8863,7 +8873,7 @@
   ac_cv_func_mmap_fixed_mapped=no
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 8866 "configure"
+#line 8876 "configure"
 #include "confdefs.h"
 $ac_includes_default
 /* Thanks to Mike Haertel and Jim Avera for this test.
@@ -8990,15 +9000,15 @@
 }
 _ACEOF
 rm -f conftest$ac_exeext
-if { (eval echo "$as_me:8993: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9003: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:8996: \$? = $ac_status" >&5
+  echo "$as_me:9006: \$? = $ac_status" >&5
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-  { (eval echo "$as_me:8998: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9008: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9001: \$? = $ac_status" >&5
+  echo "$as_me:9011: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_mmap_fixed_mapped=yes
 else
@@ -9010,7 +9020,7 @@
 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 fi
 fi
-echo "$as_me:9013: result: $ac_cv_func_mmap_fixed_mapped" >&5
+echo "$as_me:9023: result: $ac_cv_func_mmap_fixed_mapped" >&5
 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
 if test $ac_cv_func_mmap_fixed_mapped = yes; then
 
@@ -9024,13 +9034,13 @@
 for ac_func in vprintf
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:9027: checking for $ac_func" >&5
+echo "$as_me:9037: checking for $ac_func" >&5
 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$as_ac_var+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 9033 "configure"
+#line 9043 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func (); below.  */
@@ -9061,16 +9071,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9064: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9074: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9067: \$? = $ac_status" >&5
+  echo "$as_me:9077: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9070: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9080: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9073: \$? = $ac_status" >&5
+  echo "$as_me:9083: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   eval "$as_ac_var=yes"
 else
@@ -9080,20 +9090,20 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:9083: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "$as_me:9093: result: `eval echo '${'$as_ac_var'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 if test `eval echo '${'$as_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 EOF
 
-echo "$as_me:9090: checking for _doprnt" >&5
+echo "$as_me:9100: checking for _doprnt" >&5
 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
 if test "${ac_cv_func__doprnt+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 9096 "configure"
+#line 9106 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char _doprnt (); below.  */
@@ -9124,16 +9134,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9127: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9137: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9130: \$? = $ac_status" >&5
+  echo "$as_me:9140: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9133: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9143: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9136: \$? = $ac_status" >&5
+  echo "$as_me:9146: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func__doprnt=yes
 else
@@ -9143,7 +9153,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:9146: result: $ac_cv_func__doprnt" >&5
+echo "$as_me:9156: result: $ac_cv_func__doprnt" >&5
 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
 if test $ac_cv_func__doprnt = yes; then
 
@@ -9161,13 +9171,13 @@
 	snprintf strncat strncpy
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:9164: checking for $ac_func" >&5
+echo "$as_me:9174: checking for $ac_func" >&5
 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$as_ac_var+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 9170 "configure"
+#line 9180 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func (); below.  */
@@ -9198,16 +9208,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9201: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9211: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9204: \$? = $ac_status" >&5
+  echo "$as_me:9214: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9207: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9217: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9210: \$? = $ac_status" >&5
+  echo "$as_me:9220: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   eval "$as_ac_var=yes"
 else
@@ -9217,7 +9227,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:9220: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "$as_me:9230: result: `eval echo '${'$as_ac_var'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 if test `eval echo '${'$as_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -9234,10 +9244,10 @@
 
 fi
 
-echo "$as_me:9237: checking if LibGII build detected working int64" >&5
+echo "$as_me:9247: checking if LibGII build detected working int64" >&5
 echo $ECHO_N "checking if LibGII build detected working int64... $ECHO_C" >&6
 cat >conftest.$ac_ext <<_ACEOF
-#line 9240 "configure"
+#line 9250 "configure"
 #include "confdefs.h"
 
 #include <ggi/system.h>
@@ -9247,13 +9257,13 @@
 #endif
 
 _ACEOF
-if { (eval echo "$as_me:9250: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:9260: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:9256: \$? = $ac_status" >&5
+  echo "$as_me:9266: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9267,25 +9277,25 @@
     if test "x$do_64bitc" = "xauto"; then
     do_64bitc="yes"
   fi
-  echo "$as_me:9270: result: yes" >&5
+  echo "$as_me:9280: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 else
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  echo "$as_me:9275: result: no" >&5
+  echo "$as_me:9285: result: no" >&5
 echo "${ECHO_T}no" >&6
   if test "x$do_64bitc" = "xyes"; then
-    { { echo "$as_me:9278: error: Cannot build 64bit C SWAR against 32-bit LibGG" >&5
+    { { echo "$as_me:9288: error: Cannot build 64bit C SWAR against 32-bit LibGG" >&5
 echo "$as_me: error: Cannot build 64bit C SWAR against 32-bit LibGG" >&2;}
    { (exit 1); exit 1; }; }
   fi
   if test "x$do_mvi" = "xyes"; then
-    { { echo "$as_me:9283: error: Cannot build MVI SWAR against 32-bit LibGG" >&5
+    { { echo "$as_me:9293: error: Cannot build MVI SWAR against 32-bit LibGG" >&5
 echo "$as_me: error: Cannot build MVI SWAR against 32-bit LibGG" >&2;}
    { (exit 1); exit 1; }; }
   fi
   if test "x$do_vis" = "xyes"; then
-    { { echo "$as_me:9288: error: Cannot build VIS SWAR against 32-bit LibGG" >&5
+    { { echo "$as_me:9298: error: Cannot build VIS SWAR against 32-bit LibGG" >&5
 echo "$as_me: error: Cannot build VIS SWAR against 32-bit LibGG" >&2;}
    { (exit 1); exit 1; }; }
   fi
@@ -9302,13 +9312,13 @@
 
 fi
 
-echo "$as_me:9305: checking whether CC can assemble emms instruction" >&5
+echo "$as_me:9315: checking whether CC can assemble emms instruction" >&5
 echo $ECHO_N "checking whether CC can assemble emms instruction... $ECHO_C" >&6
 if test "${ac_cc_can_emms+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
    cat >conftest.$ac_ext <<_ACEOF
-#line 9311 "configure"
+#line 9321 "configure"
 #include "confdefs.h"
 
 int
@@ -9322,16 +9332,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9325: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9335: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9328: \$? = $ac_status" >&5
+  echo "$as_me:9338: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9331: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9341: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9334: \$? = $ac_status" >&5
+  echo "$as_me:9344: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cc_can_emms=yes
 else
@@ -9341,28 +9351,28 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:9344: result: $ac_cc_can_emms" >&5
+echo "$as_me:9354: result: $ac_cc_can_emms" >&5
 echo "${ECHO_T}$ac_cc_can_emms" >&6
 
 if test "x$do_mmx" = "xyes"; then
    if test "x$ac_cc_can_emms" != "xyes"; then
-      { { echo "$as_me:9349: error: MMX requested, but compiler cannot compile MMX!" >&5
+      { { echo "$as_me:9359: error: MMX requested, but compiler cannot compile MMX!" >&5
 echo "$as_me: error: MMX requested, but compiler cannot compile MMX!" >&2;}
    { (exit 1); exit 1; }; }
       do_mmx=no
    fi
 fi
 if test "x$do_mmx" = "xbuild"; then
-   echo "$as_me:9356: checking whether build CPU can run the EMMS instruction" >&5
+   echo "$as_me:9366: checking whether build CPU can run the EMMS instruction" >&5
 echo $ECHO_N "checking whether build CPU can run the EMMS instruction... $ECHO_C" >&6
 if test "${ac_cpu_can_emms+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-   { { echo "$as_me:9361: error: Test not yet implemented!" >&5
+   { { echo "$as_me:9371: error: Test not yet implemented!" >&5
 echo "$as_me: error: Test not yet implemented!" >&2;}
    { (exit 1); exit 1; }; }
 fi
-echo "$as_me:9365: result: $ac_cpu_can_emms" >&5
+echo "$as_me:9375: result: $ac_cpu_can_emms" >&5
 echo "${ECHO_T}$ac_cpu_can_emms" >&6
    if test "x$ac_cpu_can_emms" = "xyes"; then
       do_mmx=auto
@@ -9384,13 +9394,13 @@
 
 fi
 
-echo "$as_me:9387: checking whether CC can assemble femms instruction" >&5
+echo "$as_me:9397: checking whether CC can assemble femms instruction" >&5
 echo $ECHO_N "checking whether CC can assemble femms instruction... $ECHO_C" >&6
 if test "${ac_cc_can_femms+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
    cat >conftest.$ac_ext <<_ACEOF
-#line 9393 "configure"
+#line 9403 "configure"
 #include "confdefs.h"
 
 int
@@ -9404,16 +9414,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9407: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9417: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9410: \$? = $ac_status" >&5
+  echo "$as_me:9420: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9413: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9423: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9416: \$? = $ac_status" >&5
+  echo "$as_me:9426: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cc_can_femms=yes
 else
@@ -9423,28 +9433,28 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:9426: result: $ac_cc_can_femms" >&5
+echo "$as_me:9436: result: $ac_cc_can_femms" >&5
 echo "${ECHO_T}$ac_cc_can_femms" >&6
 
 if test "x$do_3dnow" = "xyes"; then
    if test "x$ac_cc_can_femms" != "xyes"; then
-      { { echo "$as_me:9431: error: 3DNOW requested, but compiler cannot compile 3DNOW!" >&5
+      { { echo "$as_me:9441: error: 3DNOW requested, but compiler cannot compile 3DNOW!" >&5
 echo "$as_me: error: 3DNOW requested, but compiler cannot compile 3DNOW!" >&2;}
    { (exit 1); exit 1; }; }
       do_3dnow=no
    fi
 fi
 if test "x$do_3dnow" = "xbuild"; then
-   echo "$as_me:9438: checking whether build CPU can run the FEMMS instruction" >&5
+   echo "$as_me:9448: checking whether build CPU can run the FEMMS instruction" >&5
 echo $ECHO_N "checking whether build CPU can run the FEMMS instruction... $ECHO_C" >&6
 if test "${ac_cpu_can_femms+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-   { { echo "$as_me:9443: error: Test not yet implemented!" >&5
+   { { echo "$as_me:9453: error: Test not yet implemented!" >&5
 echo "$as_me: error: Test not yet implemented!" >&2;}
    { (exit 1); exit 1; }; }
 fi
-echo "$as_me:9447: result: $ac_cpu_can_femms" >&5
+echo "$as_me:9457: result: $ac_cpu_can_femms" >&5
 echo "${ECHO_T}$ac_cpu_can_femms" >&6
    if test "x$ac_cpu_can_femms" = "xyes"; then
       do_3dnow=auto
@@ -9466,13 +9476,13 @@
 
 fi
 
-echo "$as_me:9469: checking whether CC can assemble faligndata instruction" >&5
+echo "$as_me:9479: checking whether CC can assemble faligndata instruction" >&5
 echo $ECHO_N "checking whether CC can assemble faligndata instruction... $ECHO_C" >&6
 if test "${ac_cc_can_faligndata+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
    cat >conftest.$ac_ext <<_ACEOF
-#line 9475 "configure"
+#line 9485 "configure"
 #include "confdefs.h"
 
 int
@@ -9485,16 +9495,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9488: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9498: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9491: \$? = $ac_status" >&5
+  echo "$as_me:9501: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9494: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9504: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9497: \$? = $ac_status" >&5
+  echo "$as_me:9507: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cc_can_faligndata=yes
 else
@@ -9504,28 +9514,28 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:9507: result: $ac_cc_can_faligndata" >&5
+echo "$as_me:9517: result: $ac_cc_can_faligndata" >&5
 echo "${ECHO_T}$ac_cc_can_faligndata" >&6
 
 if test "x$do_vis" = "xyes"; then
    if test "x$ac_cc_can_faligndata" != "xyes"; then
-      { { echo "$as_me:9512: error: VIS requested, but compiler cannot compile VIS!" >&5
+      { { echo "$as_me:9522: error: VIS requested, but compiler cannot compile VIS!" >&5
 echo "$as_me: error: VIS requested, but compiler cannot compile VIS!" >&2;}
    { (exit 1); exit 1; }; }
       do_vis=no
    fi
 fi
 if test "x$do_vis" = "xbuild"; then
-   echo "$as_me:9519: checking whether build CPU can run the FALIGNDATA instruction" >&5
+   echo "$as_me:9529: checking whether build CPU can run the FALIGNDATA instruction" >&5
 echo $ECHO_N "checking whether build CPU can run the FALIGNDATA instruction... $ECHO_C" >&6
 if test "${ac_cpu_can_faligndata+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-   { { echo "$as_me:9524: error: Test not yet implemented!" >&5
+   { { echo "$as_me:9534: error: Test not yet implemented!" >&5
 echo "$as_me: error: Test not yet implemented!" >&2;}
    { (exit 1); exit 1; }; }
 fi
-echo "$as_me:9528: result: $ac_cpu_can_faligndata" >&5
+echo "$as_me:9538: result: $ac_cpu_can_faligndata" >&5
 echo "${ECHO_T}$ac_cpu_can_faligndata" >&6
    if test "x$ac_cpu_can_faligndata" = "xyes"; then
       do_vis=auto
@@ -9547,13 +9557,13 @@
 
 fi
 
-echo "$as_me:9550: checking whether CC can assemble pklb instruction" >&5
+echo "$as_me:9560: checking whether CC can assemble pklb instruction" >&5
 echo $ECHO_N "checking whether CC can assemble pklb instruction... $ECHO_C" >&6
 if test "${ac_cc_can_pklb+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
    cat >conftest.$ac_ext <<_ACEOF
-#line 9556 "configure"
+#line 9566 "configure"
 #include "confdefs.h"
 
 int
@@ -9567,16 +9577,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9570: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9580: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9573: \$? = $ac_status" >&5
+  echo "$as_me:9583: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9576: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9586: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9579: \$? = $ac_status" >&5
+  echo "$as_me:9589: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cc_can_pklb=yes
 else
@@ -9586,28 +9596,28 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:9589: result: $ac_cc_can_pklb" >&5
+echo "$as_me:9599: result: $ac_cc_can_pklb" >&5
 echo "${ECHO_T}$ac_cc_can_pklb" >&6
 
 if test "x$do_mvi" = "xyes"; then
    if test "x$ac_cc_can_pklb" != "xyes"; then
-      { { echo "$as_me:9594: error: MVI requested, but compiler cannot compile MVI!" >&5
+      { { echo "$as_me:9604: error: MVI requested, but compiler cannot compile MVI!" >&5
 echo "$as_me: error: MVI requested, but compiler cannot compile MVI!" >&2;}
    { (exit 1); exit 1; }; }
       do_mvi=no
    fi
 fi
 if test "x$do_mvi" = "xbuild"; then
-   echo "$as_me:9601: checking whether build CPU can run the PKLB instruction" >&5
+   echo "$as_me:9611: checking whether build CPU can run the PKLB instruction" >&5
 echo $ECHO_N "checking whether build CPU can run the PKLB instruction... $ECHO_C" >&6
 if test "${ac_cpu_can_pklb+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-   { { echo "$as_me:9606: error: Test not yet implemented!" >&5
+   { { echo "$as_me:9616: error: Test not yet implemented!" >&5
 echo "$as_me: error: Test not yet implemented!" >&2;}
    { (exit 1); exit 1; }; }
 fi
-echo "$as_me:9610: result: $ac_cpu_can_pklb" >&5
+echo "$as_me:9620: result: $ac_cpu_can_pklb" >&5
 echo "${ECHO_T}$ac_cpu_can_pklb" >&6
    if test "x$ac_cpu_can_pklb" = "xyes"; then
       do_mvi=auto
@@ -9631,11 +9641,11 @@
 
 if test "x$ac_cv_func_connect" = "xno"; then
   SAVELIBS="$LIBS"
-  echo "$as_me:9634: checking for connect in -lwsock32" >&5
+  echo "$as_me:9644: checking for connect in -lwsock32" >&5
 echo $ECHO_N "checking for connect in -lwsock32... $ECHO_C" >&6
   LIBS="$LIBS -lwsock32"
   cat >conftest.$ac_ext <<_ACEOF
-#line 9638 "configure"
+#line 9648 "configure"
 #include "confdefs.h"
 
 #include <winsock.h>
@@ -9651,28 +9661,28 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9654: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9664: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9657: \$? = $ac_status" >&5
+  echo "$as_me:9667: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9660: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9670: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9663: \$? = $ac_status" >&5
+  echo "$as_me:9673: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   bsdsock_libs="$bsdsock_libs -lwsock32"
     ac_cv_func_connect=yes
-    echo "$as_me:9667: result: yes" >&5
+    echo "$as_me:9677: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-echo "$as_me:9672: result: no" >&5
+echo "$as_me:9682: result: no" >&5
 echo "${ECHO_T}no" >&6
       LIBS="$SAVELIBS"
-      echo "$as_me:9675: checking for connect in -lsocket" >&5
+      echo "$as_me:9685: checking for connect in -lsocket" >&5
 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 if test "${ac_cv_lib_socket_connect+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9680,7 +9690,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsocket  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 9683 "configure"
+#line 9693 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -9699,16 +9709,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9702: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9712: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9705: \$? = $ac_status" >&5
+  echo "$as_me:9715: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9708: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9718: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9711: \$? = $ac_status" >&5
+  echo "$as_me:9721: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_socket_connect=yes
 else
@@ -9719,7 +9729,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:9722: result: $ac_cv_lib_socket_connect" >&5
+echo "$as_me:9732: result: $ac_cv_lib_socket_connect" >&5
 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 if test $ac_cv_lib_socket_connect = yes; then
   bsdsock_libs="$bsdsock_libs -lsocket"
@@ -9732,7 +9742,7 @@
 
 if test "x$ac_cv_func_gethostbyname" = "xno"; then
 
-echo "$as_me:9735: checking for gethostbyname in -lc" >&5
+echo "$as_me:9745: checking for gethostbyname in -lc" >&5
 echo $ECHO_N "checking for gethostbyname in -lc... $ECHO_C" >&6
 if test "${ac_cv_lib_c_gethostbyname+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9740,7 +9750,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lc  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 9743 "configure"
+#line 9753 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -9759,16 +9769,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9762: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9772: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9765: \$? = $ac_status" >&5
+  echo "$as_me:9775: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9768: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9778: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9771: \$? = $ac_status" >&5
+  echo "$as_me:9781: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_c_gethostbyname=yes
 else
@@ -9779,7 +9789,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:9782: result: $ac_cv_lib_c_gethostbyname" >&5
+echo "$as_me:9792: result: $ac_cv_lib_c_gethostbyname" >&5
 echo "${ECHO_T}$ac_cv_lib_c_gethostbyname" >&6
 if test $ac_cv_lib_c_gethostbyname = yes; then
   cat >>confdefs.h <<EOF
@@ -9789,7 +9799,7 @@
   LIBS="-lc $LIBS"
 
 else
-  echo "$as_me:9792: checking for gethostbyname in -lnsl" >&5
+  echo "$as_me:9802: checking for gethostbyname in -lnsl" >&5
 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9797,7 +9807,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnsl  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 9800 "configure"
+#line 9810 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -9816,16 +9826,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9819: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9829: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9822: \$? = $ac_status" >&5
+  echo "$as_me:9832: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9825: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9835: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9828: \$? = $ac_status" >&5
+  echo "$as_me:9838: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_nsl_gethostbyname=yes
 else
@@ -9836,7 +9846,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:9839: result: $ac_cv_lib_nsl_gethostbyname" >&5
+echo "$as_me:9849: result: $ac_cv_lib_nsl_gethostbyname" >&5
 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 if test $ac_cv_lib_nsl_gethostbyname = yes; then
   bsdsock_libs="$bsdsock_libs -lnsl"
@@ -9846,7 +9856,7 @@
 
 fi
 
-echo "$as_me:9849: checking for set_monitor in -lkgimon" >&5
+echo "$as_me:9859: checking for set_monitor in -lkgimon" >&5
 echo $ECHO_N "checking for set_monitor in -lkgimon... $ECHO_C" >&6
 if test "${ac_cv_lib_kgimon_set_monitor+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9854,7 +9864,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lkgimon  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 9857 "configure"
+#line 9867 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -9873,16 +9883,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9876: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9886: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9879: \$? = $ac_status" >&5
+  echo "$as_me:9889: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9882: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9892: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9885: \$? = $ac_status" >&5
+  echo "$as_me:9895: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_kgimon_set_monitor=yes
 else
@@ -9893,7 +9903,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:9896: result: $ac_cv_lib_kgimon_set_monitor" >&5
+echo "$as_me:9906: result: $ac_cv_lib_kgimon_set_monitor" >&5
 echo "${ECHO_T}$ac_cv_lib_kgimon_set_monitor" >&6
 if test $ac_cv_lib_kgimon_set_monitor = yes; then
   monitest_extrasrc="kgitune.c"
@@ -9907,7 +9917,7 @@
 
 SHMDEMOS=""
 
-echo "$as_me:9910: checking if we should build the cube3d program" >&5
+echo "$as_me:9920: checking if we should build the cube3d program" >&5
 echo $ECHO_N "checking if we should build the cube3d program... $ECHO_C" >&6
 if test "x$ac_cv_header_unistd_h" = "xyes" \
 	-a "x$ac_cv_header_signal_h" = "xyes" \
@@ -9915,10 +9925,10 @@
 	-a "x$ac_cv_header_sys_shm_h" = "xyes" \
 	-a "x$ac_cv_header_sys_ipc_h" = "xyes"; then
   SHMDEMOS="$SHMDEMOS cube3d"
-  echo "$as_me:9918: result: yes" >&5
+  echo "$as_me:9928: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 else
-  echo "$as_me:9921: result: no" >&5
+  echo "$as_me:9931: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
@@ -9929,12 +9939,12 @@
 
 have_pthreads=no
 if test "x$use_threads" != "xno"; then
-  echo "$as_me:9932: checking for pthread library" >&5
+  echo "$as_me:9942: checking for pthread library" >&5
 echo $ECHO_N "checking for pthread library... $ECHO_C" >&6
   TMP_SAVE_LIBS=$LIBS
   LIBS="$LIBS -lpthread"
   cat >conftest.$ac_ext <<_ACEOF
-#line 9937 "configure"
+#line 9947 "configure"
 #include "confdefs.h"
 
 #include "confdefs.h"
@@ -9954,35 +9964,35 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:9957: \"$ac_link\"") >&5
+if { (eval echo "$as_me:9967: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:9960: \$? = $ac_status" >&5
+  echo "$as_me:9970: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:9963: \"$ac_try\"") >&5
+  { (eval echo "$as_me:9973: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:9966: \$? = $ac_status" >&5
+  echo "$as_me:9976: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   have_pthreads=yes
-    echo "$as_me:9969: result: yes" >&5
+    echo "$as_me:9979: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-echo "$as_me:9974: result: no" >&5
+echo "$as_me:9984: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$TMP_SAVE_LIBS
 fi
 
-echo "$as_me:9981: checking if we should use pthreads for mansync" >&5
+echo "$as_me:9991: checking if we should use pthreads for mansync" >&5
 echo $ECHO_N "checking if we should use pthreads for mansync... $ECHO_C" >&6
 if test "$have_pthreads" = "yes" -a "x$use_threads" != "xno"; then
   cat >conftest.$ac_ext <<_ACEOF
-#line 9985 "configure"
+#line 9995 "configure"
 #include "confdefs.h"
 
 #include <features.h>
@@ -9991,13 +10001,13 @@
 #endif
 
 _ACEOF
-if { (eval echo "$as_me:9994: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:10004: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:10000: \$? = $ac_status" >&5
+  echo "$as_me:10010: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -10009,42 +10019,42 @@
 fi
 if test -z "$ac_cpp_err"; then
   use_threads="no"
-    echo "$as_me:10012: result: no" >&5
+    echo "$as_me:10022: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  echo "$as_me:10017: result: yes" >&5
+  echo "$as_me:10027: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 rm -f conftest.err conftest.$ac_ext
 else
       use_threads="no"
-      echo "$as_me:10023: result: no" >&5
+      echo "$as_me:10033: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
 memory_dependent="x"
 if test "x$build_memory_target" = "xno"; then
-  { echo "$as_me:10029: WARNING: the following targets depend on the memory target" >&5
+  { echo "$as_me:10039: WARNING: the following targets depend on the memory target" >&5
 echo "$as_me: WARNING: the following targets depend on the memory target" >&2;}
-  { echo "$as_me:10031: WARNING: and will not be built: $memory_dependent" >&5
+  { echo "$as_me:10041: WARNING: and will not be built: $memory_dependent" >&5
 echo "$as_me: WARNING: and will not be built: $memory_dependent" >&2;}
   build_x_target="no"
 fi
 
 mansync_dependent="x aa tile palemu trueemu"
-echo "$as_me:10037: checking if we should build mansync helper" >&5
+echo "$as_me:10047: checking if we should build mansync helper" >&5
 echo $ECHO_N "checking if we should build mansync helper... $ECHO_C" >&6
 if test "x$ac_cv_func_fork" = "xno" -a "x$use_threads" = "xno"; then
   build_mansync_helper=no
 fi
 if test "x$build_mansync_helper" = "xno"; then
-  echo "$as_me:10043: result: no" >&5
+  echo "$as_me:10053: result: no" >&5
 echo "${ECHO_T}no" >&6
-  { echo "$as_me:10045: WARNING: the following targets depend on the mansync helper" >&5
+  { echo "$as_me:10055: WARNING: the following targets depend on the mansync helper" >&5
 echo "$as_me: WARNING: the following targets depend on the mansync helper" >&2;}
-  { echo "$as_me:10047: WARNING: and will not be built: $mansync_dependent" >&5
+  { echo "$as_me:10057: WARNING: and will not be built: $mansync_dependent" >&5
 echo "$as_me: WARNING: and will not be built: $mansync_dependent" >&2;}
   build_x_target="no"
   build_aa_target="no"
@@ -10054,14 +10064,14 @@
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS mansync"
   build_mansync_helper="yes"
-  echo "$as_me:10057: result: yes" >&5
+  echo "$as_me:10067: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
 if test "x$build_x_target" != "xno" \
 	-o "x$build_xlib_target" != "xno" \
 	-o "x$build_dga_target" != "xno"; then
-  echo "$as_me:10064: checking for X" >&5
+  echo "$as_me:10074: checking for X" >&5
 echo $ECHO_N "checking for X... $ECHO_C" >&6
 
 # Check whether --with-x or --without-x was given.
@@ -10158,17 +10168,17 @@
   # Guess where to find include files, by looking for Intrinsic.h.
   # First, try using that file with no special directory specified.
   cat >conftest.$ac_ext <<_ACEOF
-#line 10161 "configure"
+#line 10171 "configure"
 #include "confdefs.h"
 #include <X11/Intrinsic.h>
 _ACEOF
-if { (eval echo "$as_me:10165: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:10175: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:10171: \$? = $ac_status" >&5
+  echo "$as_me:10181: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -10201,7 +10211,7 @@
   ac_save_LIBS=$LIBS
   LIBS="-lXt $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
-#line 10204 "configure"
+#line 10214 "configure"
 #include "confdefs.h"
 #include <X11/Intrinsic.h>
 int
@@ -10213,16 +10223,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10216: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10226: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10219: \$? = $ac_status" >&5
+  echo "$as_me:10229: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10222: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10232: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10225: \$? = $ac_status" >&5
+  echo "$as_me:10235: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   LIBS=$ac_save_LIBS
 # We can link X programs with no special library path.
@@ -10260,7 +10270,7 @@
 fi # $with_x != no
 
 if test "$have_x" != yes; then
-  echo "$as_me:10263: result: $have_x" >&5
+  echo "$as_me:10273: result: $have_x" >&5
 echo "${ECHO_T}$have_x" >&6
   no_x=yes
 else
@@ -10270,7 +10280,7 @@
   # Update the cache value to reflect the command line values.
   ac_cv_have_x="have_x=yes \
 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
-  echo "$as_me:10273: result: libraries $x_libraries, headers $x_includes" >&5
+  echo "$as_me:10283: result: libraries $x_libraries, headers $x_includes" >&5
 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
 fi
 
@@ -10294,11 +10304,11 @@
     # others require no space.  Words are not sufficient . . . .
     case `(uname -sr) 2>/dev/null` in
     "SunOS 5"*)
-      echo "$as_me:10297: checking whether -R must be followed by a space" >&5
+      echo "$as_me:10307: checking whether -R must be followed by a space" >&5
 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
       cat >conftest.$ac_ext <<_ACEOF
-#line 10301 "configure"
+#line 10311 "configure"
 #include "confdefs.h"
 
 int
@@ -10310,16 +10320,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10313: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10323: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10316: \$? = $ac_status" >&5
+  echo "$as_me:10326: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10319: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10329: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10322: \$? = $ac_status" >&5
+  echo "$as_me:10332: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_R_nospace=yes
 else
@@ -10329,13 +10339,13 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
       if test $ac_R_nospace = yes; then
-	echo "$as_me:10332: result: no" >&5
+	echo "$as_me:10342: result: no" >&5
 echo "${ECHO_T}no" >&6
 	X_LIBS="$X_LIBS -R$x_libraries"
       else
 	LIBS="$ac_xsave_LIBS -R $x_libraries"
 	cat >conftest.$ac_ext <<_ACEOF
-#line 10338 "configure"
+#line 10348 "configure"
 #include "confdefs.h"
 
 int
@@ -10347,16 +10357,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10350: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10360: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10353: \$? = $ac_status" >&5
+  echo "$as_me:10363: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10356: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10366: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10359: \$? = $ac_status" >&5
+  echo "$as_me:10369: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_R_space=yes
 else
@@ -10366,11 +10376,11 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 	if test $ac_R_space = yes; then
-	  echo "$as_me:10369: result: yes" >&5
+	  echo "$as_me:10379: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 	  X_LIBS="$X_LIBS -R $x_libraries"
 	else
-	  echo "$as_me:10373: result: neither works" >&5
+	  echo "$as_me:10383: result: neither works" >&5
 echo "${ECHO_T}neither works" >&6
 	fi
       fi
@@ -10390,7 +10400,7 @@
     # the Alpha needs dnet_stub (dnet does not exist).
     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
     cat >conftest.$ac_ext <<_ACEOF
-#line 10393 "configure"
+#line 10403 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -10409,22 +10419,22 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10412: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10422: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10415: \$? = $ac_status" >&5
+  echo "$as_me:10425: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10418: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10428: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10421: \$? = $ac_status" >&5
+  echo "$as_me:10431: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   :
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-echo "$as_me:10427: checking for dnet_ntoa in -ldnet" >&5
+echo "$as_me:10437: checking for dnet_ntoa in -ldnet" >&5
 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10432,7 +10442,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldnet  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 10435 "configure"
+#line 10445 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -10451,16 +10461,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10454: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10464: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10457: \$? = $ac_status" >&5
+  echo "$as_me:10467: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10460: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10470: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10463: \$? = $ac_status" >&5
+  echo "$as_me:10473: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_dnet_dnet_ntoa=yes
 else
@@ -10471,14 +10481,14 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:10474: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+echo "$as_me:10484: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 fi
 
     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
-      echo "$as_me:10481: checking for dnet_ntoa in -ldnet_stub" >&5
+      echo "$as_me:10491: checking for dnet_ntoa in -ldnet_stub" >&5
 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10486,7 +10496,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldnet_stub  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 10489 "configure"
+#line 10499 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -10505,16 +10515,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10508: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10518: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10511: \$? = $ac_status" >&5
+  echo "$as_me:10521: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10514: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10524: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10517: \$? = $ac_status" >&5
+  echo "$as_me:10527: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 else
@@ -10525,7 +10535,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:10528: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+echo "$as_me:10538: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
@@ -10544,13 +10554,13 @@
     # on Irix 5.2, according to T.E. Dickey.
     # The functions gethostbyname, getservbyname, and inet_addr are
     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
-    echo "$as_me:10547: checking for gethostbyname" >&5
+    echo "$as_me:10557: checking for gethostbyname" >&5
 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 if test "${ac_cv_func_gethostbyname+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 10553 "configure"
+#line 10563 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char gethostbyname (); below.  */
@@ -10581,16 +10591,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10584: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10594: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10587: \$? = $ac_status" >&5
+  echo "$as_me:10597: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10590: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10600: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10593: \$? = $ac_status" >&5
+  echo "$as_me:10603: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_gethostbyname=yes
 else
@@ -10600,11 +10610,11 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:10603: result: $ac_cv_func_gethostbyname" >&5
+echo "$as_me:10613: result: $ac_cv_func_gethostbyname" >&5
 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
     if test $ac_cv_func_gethostbyname = no; then
-      echo "$as_me:10607: checking for gethostbyname in -lnsl" >&5
+      echo "$as_me:10617: checking for gethostbyname in -lnsl" >&5
 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10612,7 +10622,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnsl  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 10615 "configure"
+#line 10625 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -10631,16 +10641,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10634: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10644: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10637: \$? = $ac_status" >&5
+  echo "$as_me:10647: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10640: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10650: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10643: \$? = $ac_status" >&5
+  echo "$as_me:10653: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_nsl_gethostbyname=yes
 else
@@ -10651,14 +10661,14 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:10654: result: $ac_cv_lib_nsl_gethostbyname" >&5
+echo "$as_me:10664: result: $ac_cv_lib_nsl_gethostbyname" >&5
 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 if test $ac_cv_lib_nsl_gethostbyname = yes; then
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 fi
 
       if test $ac_cv_lib_nsl_gethostbyname = no; then
-        echo "$as_me:10661: checking for gethostbyname in -lbsd" >&5
+        echo "$as_me:10671: checking for gethostbyname in -lbsd" >&5
 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10666,7 +10676,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lbsd  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 10669 "configure"
+#line 10679 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -10685,16 +10695,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10688: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10698: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10691: \$? = $ac_status" >&5
+  echo "$as_me:10701: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10694: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10704: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10697: \$? = $ac_status" >&5
+  echo "$as_me:10707: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_bsd_gethostbyname=yes
 else
@@ -10705,7 +10715,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:10708: result: $ac_cv_lib_bsd_gethostbyname" >&5
+echo "$as_me:10718: result: $ac_cv_lib_bsd_gethostbyname" >&5
 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
 if test $ac_cv_lib_bsd_gethostbyname = yes; then
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
@@ -10721,13 +10731,13 @@
     # variants that don't use the nameserver (or something).  -lsocket
     # must be given before -lnsl if both are needed.  We assume that
     # if connect needs -lnsl, so does gethostbyname.
-    echo "$as_me:10724: checking for connect" >&5
+    echo "$as_me:10734: checking for connect" >&5
 echo $ECHO_N "checking for connect... $ECHO_C" >&6
 if test "${ac_cv_func_connect+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 10730 "configure"
+#line 10740 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char connect (); below.  */
@@ -10758,16 +10768,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10761: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10771: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10764: \$? = $ac_status" >&5
+  echo "$as_me:10774: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10767: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10777: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10770: \$? = $ac_status" >&5
+  echo "$as_me:10780: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_connect=yes
 else
@@ -10777,11 +10787,11 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:10780: result: $ac_cv_func_connect" >&5
+echo "$as_me:10790: result: $ac_cv_func_connect" >&5
 echo "${ECHO_T}$ac_cv_func_connect" >&6
 
     if test $ac_cv_func_connect = no; then
-      echo "$as_me:10784: checking for connect in -lsocket" >&5
+      echo "$as_me:10794: checking for connect in -lsocket" >&5
 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 if test "${ac_cv_lib_socket_connect+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10789,7 +10799,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 10792 "configure"
+#line 10802 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -10808,16 +10818,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10811: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10821: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10814: \$? = $ac_status" >&5
+  echo "$as_me:10824: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10817: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10827: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10820: \$? = $ac_status" >&5
+  echo "$as_me:10830: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_socket_connect=yes
 else
@@ -10828,7 +10838,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:10831: result: $ac_cv_lib_socket_connect" >&5
+echo "$as_me:10841: result: $ac_cv_lib_socket_connect" >&5
 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 if test $ac_cv_lib_socket_connect = yes; then
   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
@@ -10837,13 +10847,13 @@
     fi
 
     # Guillermo Gomez says -lposix is necessary on A/UX.
-    echo "$as_me:10840: checking for remove" >&5
+    echo "$as_me:10850: checking for remove" >&5
 echo $ECHO_N "checking for remove... $ECHO_C" >&6
 if test "${ac_cv_func_remove+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 10846 "configure"
+#line 10856 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char remove (); below.  */
@@ -10874,16 +10884,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10877: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10887: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10880: \$? = $ac_status" >&5
+  echo "$as_me:10890: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10883: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10893: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10886: \$? = $ac_status" >&5
+  echo "$as_me:10896: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_remove=yes
 else
@@ -10893,11 +10903,11 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:10896: result: $ac_cv_func_remove" >&5
+echo "$as_me:10906: result: $ac_cv_func_remove" >&5
 echo "${ECHO_T}$ac_cv_func_remove" >&6
 
     if test $ac_cv_func_remove = no; then
-      echo "$as_me:10900: checking for remove in -lposix" >&5
+      echo "$as_me:10910: checking for remove in -lposix" >&5
 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
 if test "${ac_cv_lib_posix_remove+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10905,7 +10915,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lposix  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 10908 "configure"
+#line 10918 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -10924,16 +10934,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10927: \"$ac_link\"") >&5
+if { (eval echo "$as_me:10937: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10930: \$? = $ac_status" >&5
+  echo "$as_me:10940: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10933: \"$ac_try\"") >&5
+  { (eval echo "$as_me:10943: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:10936: \$? = $ac_status" >&5
+  echo "$as_me:10946: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_posix_remove=yes
 else
@@ -10944,7 +10954,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:10947: result: $ac_cv_lib_posix_remove" >&5
+echo "$as_me:10957: result: $ac_cv_lib_posix_remove" >&5
 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
 if test $ac_cv_lib_posix_remove = yes; then
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
@@ -10953,13 +10963,13 @@
     fi
 
     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
-    echo "$as_me:10956: checking for shmat" >&5
+    echo "$as_me:10966: checking for shmat" >&5
 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
 if test "${ac_cv_func_shmat+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 10962 "configure"
+#line 10972 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char shmat (); below.  */
@@ -10990,16 +11000,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:10993: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11003: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:10996: \$? = $ac_status" >&5
+  echo "$as_me:11006: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:10999: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11009: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11002: \$? = $ac_status" >&5
+  echo "$as_me:11012: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_func_shmat=yes
 else
@@ -11009,11 +11019,11 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$as_me:11012: result: $ac_cv_func_shmat" >&5
+echo "$as_me:11022: result: $ac_cv_func_shmat" >&5
 echo "${ECHO_T}$ac_cv_func_shmat" >&6
 
     if test $ac_cv_func_shmat = no; then
-      echo "$as_me:11016: checking for shmat in -lipc" >&5
+      echo "$as_me:11026: checking for shmat in -lipc" >&5
 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11021,7 +11031,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lipc  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11024 "configure"
+#line 11034 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11040,16 +11050,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11043: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11053: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11046: \$? = $ac_status" >&5
+  echo "$as_me:11056: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11049: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11059: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11052: \$? = $ac_status" >&5
+  echo "$as_me:11062: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_ipc_shmat=yes
 else
@@ -11060,7 +11070,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11063: result: $ac_cv_lib_ipc_shmat" >&5
+echo "$as_me:11073: result: $ac_cv_lib_ipc_shmat" >&5
 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
 if test $ac_cv_lib_ipc_shmat = yes; then
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
@@ -11078,7 +11088,7 @@
   # These have to be linked with before -lX11, unlike the other
   # libraries we check for below, so use a different variable.
   # John Interrante, Karl Berry
-  echo "$as_me:11081: checking for IceConnectionNumber in -lICE" >&5
+  echo "$as_me:11091: checking for IceConnectionNumber in -lICE" >&5
 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11086,7 +11096,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11089 "configure"
+#line 11099 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11105,16 +11115,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11108: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11118: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11111: \$? = $ac_status" >&5
+  echo "$as_me:11121: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11114: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11124: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11117: \$? = $ac_status" >&5
+  echo "$as_me:11127: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_ICE_IceConnectionNumber=yes
 else
@@ -11125,7 +11135,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11128: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+echo "$as_me:11138: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
@@ -11153,23 +11163,23 @@
 		X11/extensions/xf86vmode.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:11156: checking for $ac_header" >&5
+echo "$as_me:11166: checking for $ac_header" >&5
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11162 "configure"
+#line 11172 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 _ACEOF
-if { (eval echo "$as_me:11166: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11176: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11172: \$? = $ac_status" >&5
+  echo "$as_me:11182: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11188,7 +11198,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11191: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:11201: result: `eval echo '${'$as_ac_Header'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -11204,23 +11214,23 @@
 fi
 
 if test "x$build_aa_target" != "xno"; then
-  echo "$as_me:11207: checking for aalib.h" >&5
+  echo "$as_me:11217: checking for aalib.h" >&5
 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
 if test "${ac_cv_header_aalib_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11213 "configure"
+#line 11223 "configure"
 #include "confdefs.h"
 #include <aalib.h>
 _ACEOF
-if { (eval echo "$as_me:11217: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11227: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11223: \$? = $ac_status" >&5
+  echo "$as_me:11233: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11239,10 +11249,10 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11242: result: $ac_cv_header_aalib_h" >&5
+echo "$as_me:11252: result: $ac_cv_header_aalib_h" >&5
 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
 if test $ac_cv_header_aalib_h = yes; then
-  echo "$as_me:11245: checking for aa_autoinit in -laa" >&5
+  echo "$as_me:11255: checking for aa_autoinit in -laa" >&5
 echo $ECHO_N "checking for aa_autoinit in -laa... $ECHO_C" >&6
 if test "${ac_cv_lib_aa_aa_autoinit+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11250,7 +11260,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-laa  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11253 "configure"
+#line 11263 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11269,16 +11279,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11272: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11282: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11275: \$? = $ac_status" >&5
+  echo "$as_me:11285: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11278: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11288: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11281: \$? = $ac_status" >&5
+  echo "$as_me:11291: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_aa_aa_autoinit=yes
 else
@@ -11289,7 +11299,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11292: result: $ac_cv_lib_aa_aa_autoinit" >&5
+echo "$as_me:11302: result: $ac_cv_lib_aa_aa_autoinit" >&5
 echo "${ECHO_T}$ac_cv_lib_aa_aa_autoinit" >&6
 if test $ac_cv_lib_aa_aa_autoinit = yes; then
   foo=bar
@@ -11310,23 +11320,23 @@
 fi
 
 if test "x$build_fbdev_target" != "xno"; then
-  echo "$as_me:11313: checking for linux/fb.h" >&5
+  echo "$as_me:11323: checking for linux/fb.h" >&5
 echo $ECHO_N "checking for linux/fb.h... $ECHO_C" >&6
 if test "${ac_cv_header_linux_fb_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11319 "configure"
+#line 11329 "configure"
 #include "confdefs.h"
 #include <linux/fb.h>
 _ACEOF
-if { (eval echo "$as_me:11323: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11333: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11329: \$? = $ac_status" >&5
+  echo "$as_me:11339: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11345,11 +11355,11 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11348: result: $ac_cv_header_linux_fb_h" >&5
+echo "$as_me:11358: result: $ac_cv_header_linux_fb_h" >&5
 echo "${ECHO_T}$ac_cv_header_linux_fb_h" >&6
 if test $ac_cv_header_linux_fb_h = yes; then
   cat >conftest.$ac_ext <<_ACEOF
-#line 11352 "configure"
+#line 11362 "configure"
 #include "confdefs.h"
 
 #include <linux/fb.h>
@@ -11366,16 +11376,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:11369: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:11379: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:11372: \$? = $ac_status" >&5
+  echo "$as_me:11382: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:11375: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11385: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11378: \$? = $ac_status" >&5
+  echo "$as_me:11388: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   cat >>confdefs.h <<\EOF
 #define HAVE_NEW_FBDEV 1
@@ -11394,23 +11404,23 @@
 fi
 
 if test "x$build_directfb_renderer" != "xno"; then
-  echo "$as_me:11397: checking for directfb-internal/directfb_version.h" >&5
+  echo "$as_me:11407: checking for directfb-internal/directfb_version.h" >&5
 echo $ECHO_N "checking for directfb-internal/directfb_version.h... $ECHO_C" >&6
 if test "${ac_cv_header_directfb_internal_directfb_version_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11403 "configure"
+#line 11413 "configure"
 #include "confdefs.h"
 #include <directfb-internal/directfb_version.h>
 _ACEOF
-if { (eval echo "$as_me:11407: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11417: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11413: \$? = $ac_status" >&5
+  echo "$as_me:11423: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11429,7 +11439,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11432: result: $ac_cv_header_directfb_internal_directfb_version_h" >&5
+echo "$as_me:11442: result: $ac_cv_header_directfb_internal_directfb_version_h" >&5
 echo "${ECHO_T}$ac_cv_header_directfb_internal_directfb_version_h" >&6
 if test $ac_cv_header_directfb_internal_directfb_version_h = yes; then
   foo=bar
@@ -11440,7 +11450,7 @@
 fi
 
 if test "x$build_libkgi_driver" != "xno"; then
-  echo "$as_me:11443: checking for ggiGAInit in -lgalloc" >&5
+  echo "$as_me:11453: checking for ggiGAInit in -lgalloc" >&5
 echo $ECHO_N "checking for ggiGAInit in -lgalloc... $ECHO_C" >&6
 if test "${ac_cv_lib_galloc_ggiGAInit+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11448,7 +11458,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgalloc  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11451 "configure"
+#line 11461 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11467,16 +11477,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11470: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11480: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11473: \$? = $ac_status" >&5
+  echo "$as_me:11483: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11476: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11486: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11479: \$? = $ac_status" >&5
+  echo "$as_me:11489: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_galloc_ggiGAInit=yes
 else
@@ -11487,7 +11497,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11490: result: $ac_cv_lib_galloc_ggiGAInit" >&5
+echo "$as_me:11500: result: $ac_cv_lib_galloc_ggiGAInit" >&5
 echo "${ECHO_T}$ac_cv_lib_galloc_ggiGAInit" >&6
 if test $ac_cv_lib_galloc_ggiGAInit = yes; then
   foo=bar
@@ -11498,23 +11508,23 @@
 fi
 
 if test "x$build_kgi_target" != "xno"; then
-  echo "$as_me:11501: checking for kgi/kgi.h" >&5
+  echo "$as_me:11511: checking for kgi/kgi.h" >&5
 echo $ECHO_N "checking for kgi/kgi.h... $ECHO_C" >&6
 if test "${ac_cv_header_kgi_kgi_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11507 "configure"
+#line 11517 "configure"
 #include "confdefs.h"
 #include <kgi/kgi.h>
 _ACEOF
-if { (eval echo "$as_me:11511: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11521: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11517: \$? = $ac_status" >&5
+  echo "$as_me:11527: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11533,11 +11543,11 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11536: result: $ac_cv_header_kgi_kgi_h" >&5
+echo "$as_me:11546: result: $ac_cv_header_kgi_kgi_h" >&5
 echo "${ECHO_T}$ac_cv_header_kgi_kgi_h" >&6
 if test $ac_cv_header_kgi_kgi_h = yes; then
   cat >conftest.$ac_ext <<_ACEOF
-#line 11540 "configure"
+#line 11550 "configure"
 #include "confdefs.h"
 
 #include "kgi/config.h"
@@ -11555,16 +11565,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:11558: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:11568: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:11561: \$? = $ac_status" >&5
+  echo "$as_me:11571: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:11564: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11574: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11567: \$? = $ac_status" >&5
+  echo "$as_me:11577: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   foo=bar
 else
@@ -11578,12 +11588,91 @@
 
 fi
 
+if test "x$build_quartz_target" != "xno"; then
+  echo "$as_me:11592: checking for ApplicationServices/ApplicationServices.h" >&5
+echo $ECHO_N "checking for ApplicationServices/ApplicationServices.h... $ECHO_C" >&6
+if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 11598 "configure"
+#include "confdefs.h"
+#include <ApplicationServices/ApplicationServices.h>
+_ACEOF
+if { (eval echo "$as_me:11602: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  egrep -v '^ *\+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:11608: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  ac_cv_header_ApplicationServices_ApplicationServices_h=yes
+else
+  echo "$as_me: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_header_ApplicationServices_ApplicationServices_h=no
+fi
+rm -f conftest.err conftest.$ac_ext
+fi
+echo "$as_me:11627: result: $ac_cv_header_ApplicationServices_ApplicationServices_h" >&5
+echo "${ECHO_T}$ac_cv_header_ApplicationServices_ApplicationServices_h" >&6
+if test $ac_cv_header_ApplicationServices_ApplicationServices_h = yes; then
+  cat >conftest.$ac_ext <<_ACEOF
+#line 11631 "configure"
+#include "confdefs.h"
+
+#include <ApplicationServices/ApplicationServices.h>
+
+int
+main ()
+{
+
+CGDirectDisplayID id;
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:11647: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:11650: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:11653: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:11656: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  foo=bar
+else
+  echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+else
+  build_quartz_target="no"
+fi
+
+fi
+
 if test "x$build_glide_target" != "xno"; then
   if test "x$ac_cv_header_glide_h" = "xno" -a \
 	  "x$ac_cv_header_glide_glide_h" = "xno"; then
     build_glide_target="no"
   else
-    echo "$as_me:11586: checking for grGlideInit in -lglide2x" >&5
+    echo "$as_me:11675: checking for grGlideInit in -lglide2x" >&5
 echo $ECHO_N "checking for grGlideInit in -lglide2x... $ECHO_C" >&6
 if test "${ac_cv_lib_glide2x_grGlideInit+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11591,7 +11680,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lglide2x  -lm  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11594 "configure"
+#line 11683 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11610,16 +11699,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11613: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11702: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11616: \$? = $ac_status" >&5
+  echo "$as_me:11705: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11619: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11708: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11622: \$? = $ac_status" >&5
+  echo "$as_me:11711: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_glide2x_grGlideInit=yes
 else
@@ -11630,7 +11719,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11633: result: $ac_cv_lib_glide2x_grGlideInit" >&5
+echo "$as_me:11722: result: $ac_cv_lib_glide2x_grGlideInit" >&5
 echo "${ECHO_T}$ac_cv_lib_glide2x_grGlideInit" >&6
 if test $ac_cv_lib_glide2x_grGlideInit = yes; then
   foo=bar
@@ -11646,23 +11735,23 @@
 for ac_header in sys/types.h sys/socket.h sys/un.h sys/shm.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:11649: checking for $ac_header" >&5
+echo "$as_me:11738: checking for $ac_header" >&5
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11655 "configure"
+#line 11744 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 _ACEOF
-if { (eval echo "$as_me:11659: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11748: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11665: \$? = $ac_status" >&5
+  echo "$as_me:11754: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11681,7 +11770,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11684: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:11773: result: `eval echo '${'$as_ac_Header'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
@@ -11707,7 +11796,7 @@
     if test "x$ac_cv_header_vgl.h" = "xno"; then
 	build_vgl_target="no"
     else
-	echo "$as_me:11710: checking for VGLInit in -lvgl" >&5
+	echo "$as_me:11799: checking for VGLInit in -lvgl" >&5
 echo $ECHO_N "checking for VGLInit in -lvgl... $ECHO_C" >&6
 if test "${ac_cv_lib_vgl_VGLInit+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11715,7 +11804,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lvgl  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11718 "configure"
+#line 11807 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11734,16 +11823,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11737: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11826: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11740: \$? = $ac_status" >&5
+  echo "$as_me:11829: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11743: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11832: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11746: \$? = $ac_status" >&5
+  echo "$as_me:11835: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_vgl_VGLInit=yes
 else
@@ -11754,7 +11843,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11757: result: $ac_cv_lib_vgl_VGLInit" >&5
+echo "$as_me:11846: result: $ac_cv_lib_vgl_VGLInit" >&5
 echo "${ECHO_T}$ac_cv_lib_vgl_VGLInit" >&6
 if test $ac_cv_lib_vgl_VGLInit = yes; then
   foo=bar
@@ -11766,23 +11855,23 @@
 fi
 
 if test "x$build_svga_target" != "xno"; then
-  echo "$as_me:11769: checking for vga.h" >&5
+  echo "$as_me:11858: checking for vga.h" >&5
 echo $ECHO_N "checking for vga.h... $ECHO_C" >&6
 if test "${ac_cv_header_vga_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11775 "configure"
+#line 11864 "configure"
 #include "confdefs.h"
 #include <vga.h>
 _ACEOF
-if { (eval echo "$as_me:11779: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11868: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11785: \$? = $ac_status" >&5
+  echo "$as_me:11874: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11801,10 +11890,10 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11804: result: $ac_cv_header_vga_h" >&5
+echo "$as_me:11893: result: $ac_cv_header_vga_h" >&5
 echo "${ECHO_T}$ac_cv_header_vga_h" >&6
 if test $ac_cv_header_vga_h = yes; then
-  echo "$as_me:11807: checking for vga_init in -lvga" >&5
+  echo "$as_me:11896: checking for vga_init in -lvga" >&5
 echo $ECHO_N "checking for vga_init in -lvga... $ECHO_C" >&6
 if test "${ac_cv_lib_vga_vga_init+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11812,7 +11901,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lvga  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11815 "configure"
+#line 11904 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11831,16 +11920,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11834: \"$ac_link\"") >&5
+if { (eval echo "$as_me:11923: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11837: \$? = $ac_status" >&5
+  echo "$as_me:11926: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11840: \"$ac_try\"") >&5
+  { (eval echo "$as_me:11929: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11843: \$? = $ac_status" >&5
+  echo "$as_me:11932: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_vga_vga_init=yes
 else
@@ -11851,7 +11940,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11854: result: $ac_cv_lib_vga_vga_init" >&5
+echo "$as_me:11943: result: $ac_cv_lib_vga_vga_init" >&5
 echo "${ECHO_T}$ac_cv_lib_vga_vga_init" >&6
 if test $ac_cv_lib_vga_vga_init = yes; then
   foo=bar
@@ -11863,23 +11952,23 @@
   build_svga_target="no"; build_vgagl_helper="no"
 fi
 
-  echo "$as_me:11866: checking for vgagl.h" >&5
+  echo "$as_me:11955: checking for vgagl.h" >&5
 echo $ECHO_N "checking for vgagl.h... $ECHO_C" >&6
 if test "${ac_cv_header_vgagl_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11872 "configure"
+#line 11961 "configure"
 #include "confdefs.h"
 #include <vgagl.h>
 _ACEOF
-if { (eval echo "$as_me:11876: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:11965: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11882: \$? = $ac_status" >&5
+  echo "$as_me:11971: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11898,10 +11987,10 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:11901: result: $ac_cv_header_vgagl_h" >&5
+echo "$as_me:11990: result: $ac_cv_header_vgagl_h" >&5
 echo "${ECHO_T}$ac_cv_header_vgagl_h" >&6
 if test $ac_cv_header_vgagl_h = yes; then
-  echo "$as_me:11904: checking for gl_setpixel in -lvgagl" >&5
+  echo "$as_me:11993: checking for gl_setpixel in -lvgagl" >&5
 echo $ECHO_N "checking for gl_setpixel in -lvgagl... $ECHO_C" >&6
 if test "${ac_cv_lib_vgagl_gl_setpixel+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11909,7 +11998,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lvgagl  -lvga  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 11912 "configure"
+#line 12001 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -11928,16 +12017,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:11931: \"$ac_link\"") >&5
+if { (eval echo "$as_me:12020: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:11934: \$? = $ac_status" >&5
+  echo "$as_me:12023: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:11937: \"$ac_try\"") >&5
+  { (eval echo "$as_me:12026: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:11940: \$? = $ac_status" >&5
+  echo "$as_me:12029: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_vgagl_gl_setpixel=yes
 else
@@ -11948,7 +12037,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:11951: result: $ac_cv_lib_vgagl_gl_setpixel" >&5
+echo "$as_me:12040: result: $ac_cv_lib_vgagl_gl_setpixel" >&5
 echo "${ECHO_T}$ac_cv_lib_vgagl_gl_setpixel" >&6
 if test $ac_cv_lib_vgagl_gl_setpixel = yes; then
   foo=bar
@@ -11964,23 +12053,23 @@
 
 if test "x$build_terminfo_target" != "xno"; then
   curseslib=""
-  echo "$as_me:11967: checking for ncurses.h" >&5
+  echo "$as_me:12056: checking for ncurses.h" >&5
 echo $ECHO_N "checking for ncurses.h... $ECHO_C" >&6
 if test "${ac_cv_header_ncurses_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 11973 "configure"
+#line 12062 "configure"
 #include "confdefs.h"
 #include <ncurses.h>
 _ACEOF
-if { (eval echo "$as_me:11977: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:12066: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:11983: \$? = $ac_status" >&5
+  echo "$as_me:12072: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11999,7 +12088,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:12002: result: $ac_cv_header_ncurses_h" >&5
+echo "$as_me:12091: result: $ac_cv_header_ncurses_h" >&5
 echo "${ECHO_T}$ac_cv_header_ncurses_h" >&6
 if test $ac_cv_header_ncurses_h = yes; then
   cat >>confdefs.h <<\EOF
@@ -12009,23 +12098,23 @@
 	curseslib="ncurses"
 else
 
-  echo "$as_me:12012: checking for ncurses/ncurses.h" >&5
+  echo "$as_me:12101: checking for ncurses/ncurses.h" >&5
 echo $ECHO_N "checking for ncurses/ncurses.h... $ECHO_C" >&6
 if test "${ac_cv_header_ncurses_ncurses_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 12018 "configure"
+#line 12107 "configure"
 #include "confdefs.h"
 #include <ncurses/ncurses.h>
 _ACEOF
-if { (eval echo "$as_me:12022: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:12111: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:12028: \$? = $ac_status" >&5
+  echo "$as_me:12117: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12044,7 +12133,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:12047: result: $ac_cv_header_ncurses_ncurses_h" >&5
+echo "$as_me:12136: result: $ac_cv_header_ncurses_ncurses_h" >&5
 echo "${ECHO_T}$ac_cv_header_ncurses_ncurses_h" >&6
 if test $ac_cv_header_ncurses_ncurses_h = yes; then
   cat >>confdefs.h <<\EOF
@@ -12054,23 +12143,23 @@
 	curseslib="ncurses"
 else
 
-  echo "$as_me:12057: checking for curses.h" >&5
+  echo "$as_me:12146: checking for curses.h" >&5
 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6
 if test "${ac_cv_header_curses_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 12063 "configure"
+#line 12152 "configure"
 #include "confdefs.h"
 #include <curses.h>
 _ACEOF
-if { (eval echo "$as_me:12067: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:12156: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:12073: \$? = $ac_status" >&5
+  echo "$as_me:12162: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12089,7 +12178,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:12092: result: $ac_cv_header_curses_h" >&5
+echo "$as_me:12181: result: $ac_cv_header_curses_h" >&5
 echo "${ECHO_T}$ac_cv_header_curses_h" >&6
 if test $ac_cv_header_curses_h = yes; then
   cat >>confdefs.h <<\EOF
@@ -12108,7 +12197,7 @@
 
   if test -n "$curseslib"; then
     as_ac_Lib=`echo "ac_cv_lib_$curseslib''_set_term" | $as_tr_sh`
-echo "$as_me:12111: checking for set_term in -l$curseslib" >&5
+echo "$as_me:12200: checking for set_term in -l$curseslib" >&5
 echo $ECHO_N "checking for set_term in -l$curseslib... $ECHO_C" >&6
 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12116,7 +12205,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-l$curseslib  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 12119 "configure"
+#line 12208 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -12135,16 +12224,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:12138: \"$ac_link\"") >&5
+if { (eval echo "$as_me:12227: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:12141: \$? = $ac_status" >&5
+  echo "$as_me:12230: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:12144: \"$ac_try\"") >&5
+  { (eval echo "$as_me:12233: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:12147: \$? = $ac_status" >&5
+  echo "$as_me:12236: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   eval "$as_ac_Lib=yes"
 else
@@ -12155,7 +12244,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:12158: result: `eval echo '${'$as_ac_Lib'}'`" >&5
+echo "$as_me:12247: result: `eval echo '${'$as_ac_Lib'}'`" >&5
 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
   terminfolibs="-l$curseslib"
@@ -12181,23 +12270,23 @@
 fi
 
 if test "x$build_dga_target" != "xno"; then
-  echo "$as_me:12184: checking for X11/extensions/xf86dga.h" >&5
+  echo "$as_me:12273: checking for X11/extensions/xf86dga.h" >&5
 echo $ECHO_N "checking for X11/extensions/xf86dga.h... $ECHO_C" >&6
 if test "${ac_cv_header_X11_extensions_xf86dga_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 12190 "configure"
+#line 12279 "configure"
 #include "confdefs.h"
 #include <X11/extensions/xf86dga.h>
 _ACEOF
-if { (eval echo "$as_me:12194: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:12283: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
-  echo "$as_me:12200: \$? = $ac_status" >&5
+  echo "$as_me:12289: \$? = $ac_status" >&5
   (exit $ac_status); } >/dev/null; then
   if test -s conftest.err; then
     ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12216,7 +12305,7 @@
 fi
 rm -f conftest.err conftest.$ac_ext
 fi
-echo "$as_me:12219: result: $ac_cv_header_X11_extensions_xf86dga_h" >&5
+echo "$as_me:12308: result: $ac_cv_header_X11_extensions_xf86dga_h" >&5
 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86dga_h" >&6
 if test $ac_cv_header_X11_extensions_xf86dga_h = yes; then
 
@@ -12227,7 +12316,7 @@
 EOF
 
   else
-    echo "$as_me:12230: checking for XF86DGAQueryVersion in -lXxf86dga" >&5
+    echo "$as_me:12319: checking for XF86DGAQueryVersion in -lXxf86dga" >&5
 echo $ECHO_N "checking for XF86DGAQueryVersion in -lXxf86dga... $ECHO_C" >&6
 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryVersion+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12235,7 +12324,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXxf86dga  $X_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 12238 "configure"
+#line 12327 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -12254,16 +12343,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:12257: \"$ac_link\"") >&5
+if { (eval echo "$as_me:12346: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:12260: \$? = $ac_status" >&5
+  echo "$as_me:12349: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:12263: \"$ac_try\"") >&5
+  { (eval echo "$as_me:12352: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:12266: \$? = $ac_status" >&5
+  echo "$as_me:12355: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_Xxf86dga_XF86DGAQueryVersion=yes
 else
@@ -12274,7 +12363,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:12277: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryVersion" >&5
+echo "$as_me:12366: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryVersion" >&5
 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryVersion" >&6
 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryVersion = yes; then
   foo=bar
@@ -12282,7 +12371,7 @@
   build_dga_target="no"
 fi
 
-    echo "$as_me:12285: checking for XF86VidModeSwitchToMode in -lXxf86vm" >&5
+    echo "$as_me:12374: checking for XF86VidModeSwitchToMode in -lXxf86vm" >&5
 echo $ECHO_N "checking for XF86VidModeSwitchToMode in -lXxf86vm... $ECHO_C" >&6
 if test "${ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12290,7 +12379,7 @@
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXxf86vm  $X_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
-#line 12293 "configure"
+#line 12382 "configure"
 #include "confdefs.h"
 
 /* Override any gcc2 internal prototype to avoid an error.  */
@@ -12309,16 +12398,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:12312: \"$ac_link\"") >&5
+if { (eval echo "$as_me:12401: \"$ac_link\"") >&5
   (eval $ac_link) 2>&5
   ac_status=$?
-  echo "$as_me:12315: \$? = $ac_status" >&5
+  echo "$as_me:12404: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:12318: \"$ac_try\"") >&5
+  { (eval echo "$as_me:12407: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:12321: \$? = $ac_status" >&5
+  echo "$as_me:12410: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode=yes
 else
@@ -12329,7 +12418,7 @@
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:12332: result: $ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode" >&5
+echo "$as_me:12421: result: $ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode" >&5
 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode" >&6
 if test $ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode = yes; then
   foo=bar
@@ -12353,13 +12442,13 @@
   fi
 fi
 
-echo "$as_me:12356: checking whether UNIX domain sockets are supported" >&5
+echo "$as_me:12445: checking whether UNIX domain sockets are supported" >&5
 echo $ECHO_N "checking whether UNIX domain sockets are supported... $ECHO_C" >&6
 if test "${ggi_cv_have_unix_domain_socket+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line 12362 "configure"
+#line 12451 "configure"
 #include "confdefs.h"
 
 #include <sys/types.h>
@@ -12376,16 +12465,16 @@
 }
 _ACEOF
 rm -f conftest.$ac_objext
-if { (eval echo "$as_me:12379: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:12468: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
-  echo "$as_me:12382: \$? = $ac_status" >&5
+  echo "$as_me:12471: \$? = $ac_status" >&5
   (exit $ac_status); } &&
          { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:12385: \"$ac_try\"") >&5
+  { (eval echo "$as_me:12474: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  echo "$as_me:12388: \$? = $ac_status" >&5
+  echo "$as_me:12477: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   ggi_cv_have_unix_domain_socket=yes
 else
@@ -12396,7 +12485,7 @@
 rm -f conftest.$ac_objext conftest.$ac_ext
 fi
 
-echo "$as_me:12399: result: $ggi_cv_have_unix_domain_socket" >&5
+echo "$as_me:12488: result: $ggi_cv_have_unix_domain_socket" >&5
 echo "${ECHO_T}$ggi_cv_have_unix_domain_socket" >&6
 if test $ggi_cv_have_unix_domain_socket = yes ; then
   cat >>confdefs.h <<\EOF
@@ -12405,146 +12494,158 @@
 
 fi
 
-echo "$as_me:12408: checking if we should build x        target" >&5
+echo "$as_me:12497: checking if we should build x        target" >&5
 echo $ECHO_N "checking if we should build x        target... $ECHO_C" >&6
 if test "x$build_x_target" = "xno"; then
-  echo "$as_me:12411: result: no" >&5
+  echo "$as_me:12500: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS X"
   build_x_target="yes"
-  echo "$as_me:12416: result: yes" >&5
+  echo "$as_me:12505: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 
-  echo "$as_me:12419: checking if we should build support for DoubleBuffer extension for x target" >&5
+  echo "$as_me:12508: checking if we should build support for DoubleBuffer extension for x target" >&5
 echo $ECHO_N "checking if we should build support for DoubleBuffer extension for x target... $ECHO_C" >&6
   if test "x$ac_cv_header_X11_extensions_Xdbe_h" != "xyes"; then
-	echo "$as_me:12422: result: no" >&5
+	echo "$as_me:12511: result: no" >&5
 echo "${ECHO_T}no" >&6
   else
 	XSUBDIRS="$XSUBDIRS dbe"
-	echo "$as_me:12426: result: yes" >&5
+	echo "$as_me:12515: result: yes" >&5
 echo "${ECHO_T}yes" >&6
   fi
 
-  echo "$as_me:12430: checking if we should build support for Extended Visual Information extension for x target" >&5
+  echo "$as_me:12519: checking if we should build support for Extended Visual Information extension for x target" >&5
 echo $ECHO_N "checking if we should build support for Extended Visual Information extension for x target... $ECHO_C" >&6
   if test "x$ac_cv_header_X11_extensions_XEVI_h" != "xyes"; then
-	echo "$as_me:12433: result: no" >&5
+	echo "$as_me:12522: result: no" >&5
 echo "${ECHO_T}no" >&6
   else
 	XSUBDIRS="$XSUBDIRS evi"
-	echo "$as_me:12437: result: yes" >&5
+	echo "$as_me:12526: result: yes" >&5
 echo "${ECHO_T}yes" >&6
   fi
 
-  echo "$as_me:12441: checking if we should build support for MIT-SHM extension for x target" >&5
+  echo "$as_me:12530: checking if we should build support for MIT-SHM extension for x target" >&5
 echo $ECHO_N "checking if we should build support for MIT-SHM extension for x target... $ECHO_C" >&6
   if test "x$ac_cv_header_X11_extensions_XShm_h" != "xyes"; then
-	echo "$as_me:12444: result: no" >&5
+	echo "$as_me:12533: result: no" >&5
 echo "${ECHO_T}no" >&6
   else
 	XSUBDIRS="$XSUBDIRS shm"
-	echo "$as_me:12448: result: yes" >&5
+	echo "$as_me:12537: result: yes" >&5
 echo "${ECHO_T}yes" >&6
   fi
 
-  echo "$as_me:12452: checking if we should build support for xf86dga extension for x target" >&5
+  echo "$as_me:12541: checking if we should build support for xf86dga extension for x target" >&5
 echo $ECHO_N "checking if we should build support for xf86dga extension for x target... $ECHO_C" >&6
   if test "x$ac_cv_header_X11_extensions_xf86dga_h" != "xyes"; then
-	echo "$as_me:12455: result: no" >&5
+	echo "$as_me:12544: result: no" >&5
 echo "${ECHO_T}no" >&6
   else
 	XSUBDIRS="$XSUBDIRS dga"
-	echo "$as_me:12459: result: yes" >&5
+	echo "$as_me:12548: result: yes" >&5
 echo "${ECHO_T}yes" >&6
   fi
 
-  echo "$as_me:12463: checking if we should build support for XF86 Vidmode extension for x target" >&5
+  echo "$as_me:12552: checking if we should build support for XF86 Vidmode extension for x target" >&5
 echo $ECHO_N "checking if we should build support for XF86 Vidmode extension for x target... $ECHO_C" >&6
   if test "x$ac_cv_header_X11_extensions_xf86vmode_h" != "xyes"; then
-	echo "$as_me:12466: result: no" >&5
+	echo "$as_me:12555: result: no" >&5
 echo "${ECHO_T}no" >&6
   else
 	XSUBDIRS="$XSUBDIRS vidmode"
-	echo "$as_me:12470: result: yes" >&5
+	echo "$as_me:12559: result: yes" >&5
 echo "${ECHO_T}yes" >&6
   fi
 fi
 
-echo "$as_me:12475: checking if we should build xlib     target" >&5
+echo "$as_me:12564: checking if we should build xlib     target" >&5
 echo $ECHO_N "checking if we should build xlib     target... $ECHO_C" >&6
 if test "x$build_xlib_target" = "xno"; then
-  echo "$as_me:12478: result: no" >&5
+  echo "$as_me:12567: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS Xlib"
   build_xlib_target="yes"
-  echo "$as_me:12483: result: yes" >&5
+  echo "$as_me:12572: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12487: checking if we should build libkgi   target" >&5
+echo "$as_me:12576: checking if we should build libkgi   target" >&5
 echo $ECHO_N "checking if we should build libkgi   target... $ECHO_C" >&6
 if test "x$build_libkgi_target" = "xno"; then
-   echo "$as_me:12490: result: no" >&5
+   echo "$as_me:12579: result: no" >&5
 echo "${ECHO_T}no" >&6
  else
    DISPLAYSUBDIRS="$DISPLAYSUBDIRS libkgi"
    build_libkgi_target="yes"
-   echo "$as_me:12495: result: yes" >&5
+   echo "$as_me:12584: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12499: checking if we should build kgi      target" >&5
+echo "$as_me:12588: checking if we should build kgi      target" >&5
 echo $ECHO_N "checking if we should build kgi      target... $ECHO_C" >&6
 if test "x$build_kgi_target" = "xno"; then
-  echo "$as_me:12502: result: no" >&5
+  echo "$as_me:12591: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS kgi"
   DEFAULTSUBDIRS="$DEFAULTSUBDIRS kgi"
   build_kgi_target="yes"
-  echo "$as_me:12508: result: yes" >&5
+  echo "$as_me:12597: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12512: checking if we should build aa       target" >&5
+echo "$as_me:12601: checking if we should build aa       target" >&5
 echo $ECHO_N "checking if we should build aa       target... $ECHO_C" >&6
 if test "x$build_aa_target" = "xno"; then
-  echo "$as_me:12515: result: no" >&5
+  echo "$as_me:12604: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS aa"
   build_aa_target="yes"
-  echo "$as_me:12520: result: yes" >&5
+  echo "$as_me:12609: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12524: checking if we should build directx  target" >&5
+echo "$as_me:12613: checking if we should build directx  target" >&5
 echo $ECHO_N "checking if we should build directx  target... $ECHO_C" >&6
 if test "x$build_directx_target" != "xno" -a \
 	"x$ac_cv_header_ddraw_h" = "xyes"; then
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS directx"
   build_directx_target="yes"
-  echo "$as_me:12530: result: yes" >&5
+  echo "$as_me:12619: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 else
-  echo "$as_me:12533: result: no" >&5
+  echo "$as_me:12622: result: no" >&5
 echo "${ECHO_T}no" >&6
 fi
 
-echo "$as_me:12537: checking if we should build fbdev    target" >&5
+echo "$as_me:12626: checking if we should build quartz   target" >&5
+echo $ECHO_N "checking if we should build quartz   target... $ECHO_C" >&6
+if test "x$build_quartz_target" != "xno"; then
+   DISPLAYSUBDIRS="$DISPLAYSUBDIRS quartz"
+   build_quartz_target="yes"
+   echo "$as_me:12631: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+   echo "$as_me:12634: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+echo "$as_me:12638: checking if we should build fbdev    target" >&5
 echo $ECHO_N "checking if we should build fbdev    target... $ECHO_C" >&6
 if test "x$build_fbdev_target" = "xno"; then
-  echo "$as_me:12540: result: no" >&5
+  echo "$as_me:12641: result: no" >&5
 echo "${ECHO_T}no" >&6
   if test "x$build_directfb_renderer" != "xno"; then
-    { echo "$as_me:12543: WARNING: directfb renderer requires fbdev!" >&5
+    { echo "$as_me:12644: WARNING: directfb renderer requires fbdev!" >&5
 echo "$as_me: WARNING: directfb renderer requires fbdev!" >&2;}
-    { echo "$as_me:12545: WARNING: disabling directfb renderer" >&5
+    { echo "$as_me:12646: WARNING: disabling directfb renderer" >&5
 echo "$as_me: WARNING: disabling directfb renderer" >&2;}
-    { echo "$as_me:12547: WARNING: enable fbdev or disable directfb to disable warning" >&5
+    { echo "$as_me:12648: WARNING: enable fbdev or disable directfb to disable warning" >&5
 echo "$as_me: WARNING: enable fbdev or disable directfb to disable warning" >&2;}
     build_directfb_renderer="no"
   fi
@@ -12554,13 +12655,13 @@
     DEFAULTSUBDIRS="$DEFAULTSUBDIRS fbdev"
   fi
   build_fbdev_target="yes"
-  echo "$as_me:12557: result: yes" >&5
+  echo "$as_me:12658: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 
-  echo "$as_me:12560: checking if we should build directfb renderer " >&5
+  echo "$as_me:12661: checking if we should build directfb renderer " >&5
 echo $ECHO_N "checking if we should build directfb renderer ... $ECHO_C" >&6
   if test "x$build_directfb_renderer" = "xno"; then
-    echo "$as_me:12563: result: no" >&5
+    echo "$as_me:12664: result: no" >&5
 echo "${ECHO_T}no" >&6
   else
     build_directfb_renderer="yes"
@@ -12569,236 +12670,236 @@
 #define DIRECTFB_DRIVER_DIR "$directfb_driver_dir"
 EOF
 
-    echo "$as_me:12572: result: yes" >&5
+    echo "$as_me:12673: result: yes" >&5
 echo "${ECHO_T}yes" >&6
   fi
 fi
 
-echo "$as_me:12577: checking if we should build file     target" >&5
+echo "$as_me:12678: checking if we should build file     target" >&5
 echo $ECHO_N "checking if we should build file     target... $ECHO_C" >&6
 if test "x$build_file_target" = "xno"; then
-  echo "$as_me:12580: result: no" >&5
+  echo "$as_me:12681: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS file"
   build_file_target="yes"
-  echo "$as_me:12585: result: yes" >&5
+  echo "$as_me:12686: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12589: checking if we should build glide    target" >&5
+echo "$as_me:12690: checking if we should build glide    target" >&5
 echo $ECHO_N "checking if we should build glide    target... $ECHO_C" >&6
 if test "x$build_glide_target" = "xno"; then
-  echo "$as_me:12592: result: no" >&5
+  echo "$as_me:12693: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS glide"
   build_glide_target="yes"
-  echo "$as_me:12597: result: yes" >&5
+  echo "$as_me:12698: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12601: checking if we should build ipc      target" >&5
+echo "$as_me:12702: checking if we should build ipc      target" >&5
 echo $ECHO_N "checking if we should build ipc      target... $ECHO_C" >&6
 if test "x$build_ipc_target" = "xno"; then
-  echo "$as_me:12604: result: no" >&5
+  echo "$as_me:12705: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS ipc"
   build_ipc_target="yes"
-  echo "$as_me:12609: result: yes" >&5
+  echo "$as_me:12710: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12613: checking if we should build lcd823   target" >&5
+echo "$as_me:12714: checking if we should build lcd823   target" >&5
 echo $ECHO_N "checking if we should build lcd823   target... $ECHO_C" >&6
 if test "x$build_lcd823_target" = "xno"; then
-  echo "$as_me:12616: result: no" >&5
+  echo "$as_me:12717: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS lcd823"
   build_lcd823_target="yes"
-  echo "$as_me:12621: result: yes" >&5
+  echo "$as_me:12722: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12625: checking if we should build memory   target" >&5
+echo "$as_me:12726: checking if we should build memory   target" >&5
 echo $ECHO_N "checking if we should build memory   target... $ECHO_C" >&6
 if test "x$build_memory_target" = "xno"; then
-  echo "$as_me:12628: result: no" >&5
+  echo "$as_me:12729: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS memory"
   build_memory_target="yes"
-  echo "$as_me:12633: result: yes" >&5
+  echo "$as_me:12734: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12637: checking if we should build monotext target" >&5
+echo "$as_me:12738: checking if we should build monotext target" >&5
 echo $ECHO_N "checking if we should build monotext target... $ECHO_C" >&6
 if test "x$build_monotext_target" = "xno"; then
-  echo "$as_me:12640: result: no" >&5
+  echo "$as_me:12741: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS monotext"
   build_monotext_target="yes"
-  echo "$as_me:12645: result: yes" >&5
+  echo "$as_me:12746: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12649: checking if we should build multi    target" >&5
+echo "$as_me:12750: checking if we should build multi    target" >&5
 echo $ECHO_N "checking if we should build multi    target... $ECHO_C" >&6
 if test "x$build_multi_target" = "xno"; then
-  echo "$as_me:12652: result: no" >&5
+  echo "$as_me:12753: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS multi"
   build_multi_target="yes"
-  echo "$as_me:12657: result: yes" >&5
+  echo "$as_me:12758: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12661: checking if we should build palemu   target" >&5
+echo "$as_me:12762: checking if we should build palemu   target" >&5
 echo $ECHO_N "checking if we should build palemu   target... $ECHO_C" >&6
 if test "x$build_palemu_target" = "xno"; then
-  echo "$as_me:12664: result: no" >&5
+  echo "$as_me:12765: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS palemu"
   build_palemu_target="yes"
-  echo "$as_me:12669: result: yes" >&5
+  echo "$as_me:12770: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12673: checking if we should build sub      target" >&5
+echo "$as_me:12774: checking if we should build sub      target" >&5
 echo $ECHO_N "checking if we should build sub      target... $ECHO_C" >&6
 if test "x$build_sub_target" = "xno"; then
-  echo "$as_me:12676: result: no" >&5
+  echo "$as_me:12777: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS sub"
   build_sub_target="yes"
-  echo "$as_me:12681: result: yes" >&5
+  echo "$as_me:12782: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12685: checking if we should build vgl      target" >&5
+echo "$as_me:12786: checking if we should build vgl      target" >&5
 echo $ECHO_N "checking if we should build vgl      target... $ECHO_C" >&6
 if test "x$build_vgl_target" = "xno"; then
-  echo "$as_me:12688: result: no" >&5
+  echo "$as_me:12789: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS vgl"
   build_vgl_target="yes"
-  echo "$as_me:12693: result: yes" >&5
+  echo "$as_me:12794: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12697: checking if we should build svga     target" >&5
+echo "$as_me:12798: checking if we should build svga     target" >&5
 echo $ECHO_N "checking if we should build svga     target... $ECHO_C" >&6
 if test "x$build_svga_target" = "xno"; then
-  echo "$as_me:12700: result: no" >&5
+  echo "$as_me:12801: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS svgalib"
   build_svga_target="yes"
-  echo "$as_me:12705: result: yes" >&5
+  echo "$as_me:12806: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12709: checking if we should build vgagl    helper (used by svga target)" >&5
+echo "$as_me:12810: checking if we should build vgagl    helper (used by svga target)" >&5
 echo $ECHO_N "checking if we should build vgagl    helper (used by svga target)... $ECHO_C" >&6
 if test "x$build_vgagl_helper" = "xno"; then
-  echo "$as_me:12712: result: no" >&5
+  echo "$as_me:12813: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS vgagl"
   build_vgagl_helper="yes"
-  echo "$as_me:12717: result: yes" >&5
+  echo "$as_me:12818: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12721: checking if we should build tele     target" >&5
+echo "$as_me:12822: checking if we should build tele     target" >&5
 echo $ECHO_N "checking if we should build tele     target... $ECHO_C" >&6
 if test "x$build_tele_target" = "xno"; then
-  echo "$as_me:12724: result: no" >&5
+  echo "$as_me:12825: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS tele"
   build_tele_target="yes"
-  echo "$as_me:12729: result: yes" >&5
+  echo "$as_me:12830: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12733: checking if we should build terminfo target" >&5
+echo "$as_me:12834: checking if we should build terminfo target" >&5
 echo $ECHO_N "checking if we should build terminfo target... $ECHO_C" >&6
 if test "x$build_terminfo_target" = "xno"; then
-  echo "$as_me:12736: result: no" >&5
+  echo "$as_me:12837: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS terminfo"
   build_terminfo_target="yes"
-  echo "$as_me:12741: result: yes" >&5
+  echo "$as_me:12842: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12745: checking if we should build tile     target" >&5
+echo "$as_me:12846: checking if we should build tile     target" >&5
 echo $ECHO_N "checking if we should build tile     target... $ECHO_C" >&6
 if test "x$build_tile_target" = "xno"; then
-  echo "$as_me:12748: result: no" >&5
+  echo "$as_me:12849: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS tile"
   build_tile_target="yes"
-  echo "$as_me:12753: result: yes" >&5
+  echo "$as_me:12854: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12757: checking if we should build trueemu  target" >&5
+echo "$as_me:12858: checking if we should build trueemu  target" >&5
 echo $ECHO_N "checking if we should build trueemu  target... $ECHO_C" >&6
 if test "x$build_trueemu_target" = "xno"; then
-  echo "$as_me:12760: result: no" >&5
+  echo "$as_me:12861: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS trueemu"
   build_trueemu_target="yes"
-  echo "$as_me:12765: result: yes" >&5
+  echo "$as_me:12866: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12769: checking if we should build vcsa     target" >&5
+echo "$as_me:12870: checking if we should build vcsa     target" >&5
 echo $ECHO_N "checking if we should build vcsa     target... $ECHO_C" >&6
 if test "x$build_vcsa_target" = "xno"; then
-  echo "$as_me:12772: result: no" >&5
+  echo "$as_me:12873: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS vcsa"
   build_vcsa_target="yes"
-  echo "$as_me:12777: result: yes" >&5
+  echo "$as_me:12878: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12781: checking if we should build dga      target" >&5
+echo "$as_me:12882: checking if we should build dga      target" >&5
 echo $ECHO_N "checking if we should build dga      target... $ECHO_C" >&6
 if test "x$build_dga_target" = "xno"; then
-  echo "$as_me:12784: result: no" >&5
+  echo "$as_me:12885: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS xf86dga"
   build_dga_target="yes"
-  echo "$as_me:12789: result: yes" >&5
+  echo "$as_me:12890: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
-echo "$as_me:12793: checking if we should build linvtsw  helper" >&5
+echo "$as_me:12894: checking if we should build linvtsw  helper" >&5
 echo $ECHO_N "checking if we should build linvtsw  helper... $ECHO_C" >&6
 if test "x$build_linvtsw_helper" = "xno"; then
-  echo "$as_me:12796: result: no" >&5
+  echo "$as_me:12897: result: no" >&5
 echo "${ECHO_T}no" >&6
 else
   DISPLAYSUBDIRS="$DISPLAYSUBDIRS linvtsw"
   build_linvtsw_helper="yes"
-  echo "$as_me:12801: result: yes" >&5
+  echo "$as_me:12902: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 fi
 
@@ -12811,6 +12912,17 @@
   fi
 fi
 
+# Check for darwin at the very end and set up the Objective C compiler
+# We do this here so that we get the full CFLAGS into OBJCFLAGS
+case "$host" in
+    *-*-darwin*)
+        OBJC="cc"
+        OBJCFLAGS="$CFLAGS"
+        OBJCDEPMODE="$CCDEPMODE"
+
+        ;;
+esac
+
 eval static_libdir="$libdir"
 old_val=""
 until test "$static_libdir" = "$old_val"; do
@@ -12853,7 +12965,7 @@
 # along with our hook.
 ac_config_headers="$ac_config_headers config.h"
 
-ac_config_files="$ac_config_files Makefile ggi/Makefile include/Makefile include/ggi/Makefile include/ggi/internal/Makefile include/ggi/internal/font/Makefile include/ggi/default/Makefile include/ggi/display/Makefile display/Makefile display/X/Makefile display/X/helper/Makefile display/X/helper/dga/Makefile display/X/helper/vidmode/Makefile display/X/helper/evi/Makefile display/X/helper/dbe/Makefile display/X/helper/shm/Makefile display/Xlib/Makefile display/aa/Makefile display/common/Makefile display/directx/Makefile display/fbdev/Makefile display/file/Makefile display/glide/Makefile display/ipc/Makefile display/kgi/Makefile display/lcd823/Makefile display/libkgi/Makefile display/linvtsw/Makefile display/mansync/Makefile display/memory/Makefile display/monotext/Makefile display/multi/Makefile display/palemu/Makefile display/sub/Makefile display/svgalib/Makefile display/vgl/Makefile display/tele/Makefile display/terminfo/Makefile display/tile/Makefile display/trueemu/Makefile display/vcsa/Makefile display/vgagl/Makefile display/xf86dga/Makefile default/Makefile default/color/Makefile default/common/Makefile default/kgi/Makefile default/kgi/ATI/Makefile default/kgi/ATI/Mach64/Makefile default/kgi/ATI/Radeon/Makefile default/linear_1/Makefile default/linear_1_r/Makefile default/linear_2/Makefile default/linear_4/Makefile default/linear_4_r/Makefile default/linear_8/Makefile default/linear_16/Makefile default/linear_24/Makefile default/linear_32/Makefile default/stubs/Makefile default/text_16/Makefile default/text_32/Makefile default/ilbm/Makefile default/planar/Makefile default/iplanar_2p/Makefile default/fbdev/Makefile default/fbdev/directfb/Makefile default/fbdev/directfb/core/Makefile default/fbdev/directfb/core/fusion/Makefile default/fbdev/mga/Makefile default/fbdev/mga/2164w/Makefile default/fbdev/mga/g400/Makefile default/fbdev/ati/Makefile default/fbdev/ati/mach64/Makefile extensions/Makefile extensions/test/Makefile programs/Makefile programs/demos/Makefile programs/demos/warp-ggi/Makefile programs/util/Makefile programs/util/monitest/Makefile programs/check/Makefile doc/Makefile doc/man/Makefile m4/Makefile libggi.conf display/fbdev/fbdev.conf display/kgi/kgi.conf display/libkgi/libkgi.conf dist/Makefile dist/rpm/Makefile dist/rpm/libggi.spec"
+ac_config_files="$ac_config_files Makefile ggi/Makefile include/Makefile include/ggi/Makefile include/ggi/internal/Makefile include/ggi/internal/font/Makefile include/ggi/default/Makefile include/ggi/display/Makefile display/Makefile display/X/Makefile display/X/helper/Makefile display/X/helper/dga/Makefile display/X/helper/vidmode/Makefile display/X/helper/evi/Makefile display/X/helper/dbe/Makefile display/X/helper/shm/Makefile display/Xlib/Makefile display/aa/Makefile display/common/Makefile display/directx/Makefile display/quartz/Makefile display/fbdev/Makefile display/file/Makefile display/glide/Makefile display/ipc/Makefile display/kgi/Makefile display/lcd823/Makefile display/libkgi/Makefile display/linvtsw/Makefile display/mansync/Makefile display/memory/Makefile display/monotext/Makefile display/multi/Makefile display/palemu/Makefile display/sub/Makefile display/svgalib/Makefile display/vgl/Makefile display/tele/Makefile display/terminfo/Makefile display/tile/Makefile display/trueemu/Makefile display/vcsa/Makefile display/vgagl/Makefile display/xf86dga/Makefile default/Makefile default/color/Makefile default/common/Makefile default/kgi/Makefile default/kgi/ATI/Makefile default/kgi/ATI/Mach64/Makefile default/kgi/ATI/Radeon/Makefile default/linear_1/Makefile default/linear_1_r/Makefile default/linear_2/Makefile default/linear_4/Makefile default/linear_4_r/Makefile default/linear_8/Makefile default/linear_16/Makefile default/linear_24/Makefile default/linear_32/Makefile default/stubs/Makefile default/text_16/Makefile default/text_32/Makefile default/ilbm/Makefile default/planar/Makefile default/iplanar_2p/Makefile default/fbdev/Makefile default/fbdev/directfb/Makefile default/fbdev/directfb/core/Makefile default/fbdev/directfb/core/fusion/Makefile default/fbdev/mga/Makefile default/fbdev/mga/2164w/Makefile default/fbdev/mga/g400/Makefile default/fbdev/ati/Makefile default/fbdev/ati/mach64/Makefile extensions/Makefile extensions/test/Makefile programs/Makefile programs/demos/Makefile programs/demos/warp-ggi/Makefile programs/util/Makefile programs/util/monitest/Makefile programs/check/Makefile doc/Makefile doc/man/Makefile m4/Makefile libggi.conf display/fbdev/fbdev.conf display/kgi/kgi.conf display/libkgi/libkgi.conf dist/Makefile dist/rpm/Makefile dist/rpm/libggi.spec"
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
@@ -12931,21 +13043,21 @@
 DEFS=-DHAVE_CONFIG_H
 
 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
-  { { echo "$as_me:12934: error: conditional \"MAINTAINER_MODE\" was never defined.
+  { { echo "$as_me:13046: error: conditional \"MAINTAINER_MODE\" was never defined.
 Usually this means the macro was only invoked conditionally." >&5
 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 Usually this means the macro was only invoked conditionally." >&2;}
    { (exit 1); exit 1; }; }
 fi
 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
-  { { echo "$as_me:12941: error: conditional \"AMDEP\" was never defined.
+  { { echo "$as_me:13053: error: conditional \"AMDEP\" was never defined.
 Usually this means the macro was only invoked conditionally." >&5
 echo "$as_me: error: conditional \"AMDEP\" was never defined.
 Usually this means the macro was only invoked conditionally." >&2;}
    { (exit 1); exit 1; }; }
 fi
 if test -z "${INTERNAL_XF86DGA_TRUE}" && test -z "${INTERNAL_XF86DGA_FALSE}"; then
-  { { echo "$as_me:12948: error: conditional \"INTERNAL_XF86DGA\" was never defined.
+  { { echo "$as_me:13060: error: conditional \"INTERNAL_XF86DGA\" was never defined.
 Usually this means the macro was only invoked conditionally." >&5
 echo "$as_me: error: conditional \"INTERNAL_XF86DGA\" was never defined.
 Usually this means the macro was only invoked conditionally." >&2;}
@@ -12955,7 +13067,7 @@
 : ${CONFIG_STATUS=./config.status}
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:12958: creating $CONFIG_STATUS" >&5
+{ echo "$as_me:13070: creating $CONFIG_STATUS" >&5
 echo "$as_me: creating $CONFIG_STATUS" >&6;}
 cat >$CONFIG_STATUS <<_ACEOF
 #! $SHELL
@@ -13131,7 +13243,7 @@
     echo "$ac_cs_version"; exit 0 ;;
   --he | --h)
     # Conflict between --help and --header
-    { { echo "$as_me:13134: error: ambiguous option: $1
+    { { echo "$as_me:13246: error: ambiguous option: $1
 Try \`$0 --help' for more information." >&5
 echo "$as_me: error: ambiguous option: $1
 Try \`$0 --help' for more information." >&2;}
@@ -13150,7 +13262,7 @@
     ac_need_defaults=false;;
 
   # This is an error.
-  -*) { { echo "$as_me:13153: error: unrecognized option: $1
+  -*) { { echo "$as_me:13265: error: unrecognized option: $1
 Try \`$0 --help' for more information." >&5
 echo "$as_me: error: unrecognized option: $1
 Try \`$0 --help' for more information." >&2;}
@@ -13214,6 +13326,7 @@
   "display/aa/Makefile" ) CONFIG_FILES="$CONFIG_FILES display/aa/Makefile" ;;
   "display/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES display/common/Makefile" ;;
   "display/directx/Makefile" ) CONFIG_FILES="$CONFIG_FILES display/directx/Makefile" ;;
+  "display/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES display/quartz/Makefile" ;;
   "display/fbdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES display/fbdev/Makefile" ;;
   "display/file/Makefile" ) CONFIG_FILES="$CONFIG_FILES display/file/Makefile" ;;
   "display/glide/Makefile" ) CONFIG_FILES="$CONFIG_FILES display/glide/Makefile" ;;
@@ -13288,7 +13401,7 @@
   "dist/rpm/libggi.spec" ) CONFIG_FILES="$CONFIG_FILES dist/rpm/libggi.spec" ;;
   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
-  *) { { echo "$as_me:13291: error: invalid argument: $ac_config_target" >&5
+  *) { { echo "$as_me:13404: error: invalid argument: $ac_config_target" >&5
 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    { (exit 1); exit 1; }; };;
   esac
@@ -13435,6 +13548,9 @@
 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
 s,@INTERNAL_XF86DGA_TRUE@,$INTERNAL_XF86DGA_TRUE,;t t
 s,@INTERNAL_XF86DGA_FALSE@,$INTERNAL_XF86DGA_FALSE,;t t
+s,@OBJC@,$OBJC,;t t
+s,@OBJCFLAGS@,$OBJCFLAGS,;t t
+s,@OBJCDEPMODE@,$OBJCDEPMODE,;t t
 s,@THREADLIBS@,$THREADLIBS,;t t
 s,@sublib_libs@,$sublib_libs,;t t
 s,@dynload_libs@,$dynload_libs,;t t
@@ -13567,7 +13683,7 @@
   esac
 
   if test x"$ac_file" != x-; then
-    { echo "$as_me:13570: creating $ac_file" >&5
+    { echo "$as_me:13686: creating $ac_file" >&5
 echo "$as_me: creating $ac_file" >&6;}
     rm -f "$ac_file"
   fi
@@ -13585,7 +13701,7 @@
       -) echo $tmp/stdin ;;
       [\\/$]*)
          # Absolute (can't be DOS-style, as IFS=:)
-         test -f "$f" || { { echo "$as_me:13588: error: cannot find input file: $f" >&5
+         test -f "$f" || { { echo "$as_me:13704: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          echo $f;;
@@ -13598,7 +13714,7 @@
            echo $srcdir/$f
          else
            # /dev/null tree
-           { { echo "$as_me:13601: error: cannot find input file: $f" >&5
+           { { echo "$as_me:13717: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          fi;;
@@ -13659,7 +13775,7 @@
   * )   ac_file_in=$ac_file.in ;;
   esac
 
-  test x"$ac_file" != x- && { echo "$as_me:13662: creating $ac_file" >&5
+  test x"$ac_file" != x- && { echo "$as_me:13778: creating $ac_file" >&5
 echo "$as_me: creating $ac_file" >&6;}
 
   # First look for the input files in the build tree, otherwise in the
@@ -13670,7 +13786,7 @@
       -) echo $tmp/stdin ;;
       [\\/$]*)
          # Absolute (can't be DOS-style, as IFS=:)
-         test -f "$f" || { { echo "$as_me:13673: error: cannot find input file: $f" >&5
+         test -f "$f" || { { echo "$as_me:13789: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          echo $f;;
@@ -13683,7 +13799,7 @@
            echo $srcdir/$f
          else
            # /dev/null tree
-           { { echo "$as_me:13686: error: cannot find input file: $f" >&5
+           { { echo "$as_me:13802: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          fi;;
@@ -13800,7 +13916,7 @@
   rm -f $tmp/in
   if test x"$ac_file" != x-; then
     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
-      { echo "$as_me:13803: $ac_file is unchanged" >&5
+      { echo "$as_me:13919: $ac_file is unchanged" >&5
 echo "$as_me: $ac_file is unchanged" >&6;}
     else
       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
@@ -13961,7 +14077,7 @@
 fi
 
 if test "$gii_missing_part" = "yes"; then
-  { echo "$as_me:13964: WARNING:
+  { echo "$as_me:14080: WARNING:
 LibGII is not properly installed on the system. You need LibGII for
 building LibGGI. Please compile LibGII first.
 " >&5
diff -uNr --exclude=CVS libggi/configure.in libggi.macosx/configure.in
--- libggi/configure.in	Thu Nov 28 01:20:41 2002
+++ libggi.macosx/configure.in	Thu Nov 28 02:07:08 2002
@@ -55,6 +55,9 @@
 dnl Win32 specific Targets
 build_directx_target="no"
 
+dnl MacOS X specific Targets
+build_quartz_target="auto"
+
 dnl PseudoTargets
 build_multi_target="yes"
 build_tile_target="auto"
@@ -97,6 +100,7 @@
 AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
 
+
 dnl ========================================================================
 dnl User selectable options
 
@@ -188,6 +192,12 @@
 build_directx_target=$enableval)
 
 
+dnl MacOS X specific Targets
+AC_ARG_ENABLE(quartz,
+[  --disable-quartz       don't build the quartz target],
+build_quartz_target=$enableval)
+
+
 dnl PseudoTargets
 AC_ARG_ENABLE(multi,
 [  --disable-multi         don't build the multi target],
@@ -268,7 +278,8 @@
 sys/select.h pthread.h sys/ioctl.h signal.h sys/time.h sys/shm.h sys/ipc.h \
 sys/wait.h asm/io.h sys/io.h sys/kd.h linux/kd.h sys/vt.h linux/vt.h \
 linux/kdev_t.h linux/major.h glide.h glide/glide.h kgimon.h sys/un.h \
-sys/socket.h netinet/in.h netdb.h windows.h ddraw.h vgl.h)
+sys/socket.h netinet/in.h netdb.h windows.h ddraw.h vgl.h \
+ApplicationServices/ApplicationServices.h)
 
 dnl ========================================================================
 dnl LibGII must be built
@@ -310,7 +321,7 @@
 if test "$ac_cv_header_sys_socket_h" = "yes"; then
 
 	AC_MSG_CHECKING([whether socklen_t is available])
-	AC_TRY_COMPILE([   
+	AC_TRY_COMPILE([
 		#include <sys/types.h>
 		#include <sys/socket.h>
 		#ifdef HAVE_SYS_UN_H
@@ -625,6 +636,8 @@
   fi
 fi
 
+
+
 if test "x$build_aa_target" != "xno"; then
   AC_CHECK_HEADER(aalib.h,
 	AC_CHECK_LIB(aa, aa_autoinit, foo=bar, build_aa_target="no"),
@@ -670,6 +683,15 @@
 ], foo=bar), build_kgi_target="no")
 fi
 
+if test "x$build_quartz_target" != "xno"; then
+  AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h,
+    AC_TRY_COMPILE([
+#include <ApplicationServices/ApplicationServices.h>
+],[
+CGDirectDisplayID id;
+], foo=bar), build_quartz_target="no")
+fi
+
 if test "x$build_glide_target" != "xno"; then
   if test "x$ac_cv_header_glide_h" = "xno" -a \
 	  "x$ac_cv_header_glide_glide_h" = "xno"; then
@@ -880,6 +902,15 @@
   AC_MSG_RESULT(no)
 fi
 
+AC_MSG_CHECKING(if we should build quartz   target)
+if test "x$build_quartz_target" != "xno"; then
+   DISPLAYSUBDIRS="$DISPLAYSUBDIRS quartz"
+   build_quartz_target="yes"
+   AC_MSG_RESULT(yes)
+else
+   AC_MSG_RESULT(no)
+fi
+
 AC_MSG_CHECKING(if we should build fbdev    target)
 if test "x$build_fbdev_target" = "xno"; then
   AC_MSG_RESULT(no)
@@ -1103,6 +1134,19 @@
   fi
 fi
 
+# Check for darwin at the very end and set up the Objective C compiler
+# We do this here so that we get the full CFLAGS into OBJCFLAGS
+case "$host" in
+    *-*-darwin*)
+        OBJC="cc"
+        OBJCFLAGS="$CFLAGS"
+        OBJCDEPMODE="$CCDEPMODE"
+        AC_SUBST(OBJC)
+        AC_SUBST(OBJCFLAGS)
+        AC_SUBST(OBJCDEPMODE)
+        ;;
+esac
+
 
 dnl ========================================================================
 dnl Write output
@@ -1185,6 +1229,7 @@
 display/aa/Makefile
 display/common/Makefile
 display/directx/Makefile
+display/quartz/Makefile
 display/fbdev/Makefile
 display/file/Makefile
 display/glide/Makefile
diff -uNr --exclude=CVS libggi/default/Makefile.in libggi.macosx/default/Makefile.in
--- libggi/default/Makefile.in	Thu Nov 28 01:21:10 2002
+++ libggi.macosx/default/Makefile.in	Thu Nov 28 02:09:36 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/color/Makefile.in libggi.macosx/default/color/Makefile.in
--- libggi/default/color/Makefile.in	Thu Nov 28 01:21:11 2002
+++ libggi.macosx/default/color/Makefile.in	Thu Nov 28 02:09:36 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/common/Makefile.in libggi.macosx/default/common/Makefile.in
--- libggi/default/common/Makefile.in	Thu Nov 28 01:21:11 2002
+++ libggi.macosx/default/common/Makefile.in	Thu Nov 28 02:09:37 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/Makefile.in libggi.macosx/default/fbdev/Makefile.in
--- libggi/default/fbdev/Makefile.in	Thu Nov 28 01:21:11 2002
+++ libggi.macosx/default/fbdev/Makefile.in	Thu Nov 28 02:09:37 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/ati/Makefile.in libggi.macosx/default/fbdev/ati/Makefile.in
--- libggi/default/fbdev/ati/Makefile.in	Thu Nov 28 01:21:12 2002
+++ libggi.macosx/default/fbdev/ati/Makefile.in	Thu Nov 28 02:09:38 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/ati/mach64/Makefile.in libggi.macosx/default/fbdev/ati/mach64/Makefile.in
--- libggi/default/fbdev/ati/mach64/Makefile.in	Thu Nov 28 01:21:13 2002
+++ libggi.macosx/default/fbdev/ati/mach64/Makefile.in	Thu Nov 28 02:09:38 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/directfb/Makefile.in libggi.macosx/default/fbdev/directfb/Makefile.in
--- libggi/default/fbdev/directfb/Makefile.in	Thu Nov 28 01:21:13 2002
+++ libggi.macosx/default/fbdev/directfb/Makefile.in	Thu Nov 28 02:09:39 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/directfb/core/Makefile.in libggi.macosx/default/fbdev/directfb/core/Makefile.in
--- libggi/default/fbdev/directfb/core/Makefile.in	Thu Nov 28 01:21:14 2002
+++ libggi.macosx/default/fbdev/directfb/core/Makefile.in	Thu Nov 28 02:09:39 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/directfb/core/fusion/Makefile.in libggi.macosx/default/fbdev/directfb/core/fusion/Makefile.in
--- libggi/default/fbdev/directfb/core/fusion/Makefile.in	Thu Nov 28 01:21:14 2002
+++ libggi.macosx/default/fbdev/directfb/core/fusion/Makefile.in	Thu Nov 28 02:09:39 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/mga/2164w/Makefile.in libggi.macosx/default/fbdev/mga/2164w/Makefile.in
--- libggi/default/fbdev/mga/2164w/Makefile.in	Thu Nov 28 01:21:15 2002
+++ libggi.macosx/default/fbdev/mga/2164w/Makefile.in	Thu Nov 28 02:09:40 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/mga/Makefile.in libggi.macosx/default/fbdev/mga/Makefile.in
--- libggi/default/fbdev/mga/Makefile.in	Thu Nov 28 01:21:15 2002
+++ libggi.macosx/default/fbdev/mga/Makefile.in	Thu Nov 28 02:09:40 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/fbdev/mga/g400/Makefile.in libggi.macosx/default/fbdev/mga/g400/Makefile.in
--- libggi/default/fbdev/mga/g400/Makefile.in	Thu Nov 28 01:21:16 2002
+++ libggi.macosx/default/fbdev/mga/g400/Makefile.in	Thu Nov 28 02:09:40 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/ilbm/Makefile.in libggi.macosx/default/ilbm/Makefile.in
--- libggi/default/ilbm/Makefile.in	Thu Nov 28 01:21:16 2002
+++ libggi.macosx/default/ilbm/Makefile.in	Thu Nov 28 02:09:41 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/iplanar_2p/Makefile.in libggi.macosx/default/iplanar_2p/Makefile.in
--- libggi/default/iplanar_2p/Makefile.in	Thu Nov 28 01:21:17 2002
+++ libggi.macosx/default/iplanar_2p/Makefile.in	Thu Nov 28 02:09:41 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/kgi/ATI/Mach64/Makefile.in libggi.macosx/default/kgi/ATI/Mach64/Makefile.in
--- libggi/default/kgi/ATI/Mach64/Makefile.in	Thu Nov 28 01:21:17 2002
+++ libggi.macosx/default/kgi/ATI/Mach64/Makefile.in	Thu Nov 28 02:09:42 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/kgi/ATI/Makefile.in libggi.macosx/default/kgi/ATI/Makefile.in
--- libggi/default/kgi/ATI/Makefile.in	Thu Nov 28 01:21:18 2002
+++ libggi.macosx/default/kgi/ATI/Makefile.in	Thu Nov 28 02:09:42 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/kgi/ATI/Radeon/Makefile.in libggi.macosx/default/kgi/ATI/Radeon/Makefile.in
--- libggi/default/kgi/ATI/Radeon/Makefile.in	Thu Nov 28 01:21:18 2002
+++ libggi.macosx/default/kgi/ATI/Radeon/Makefile.in	Thu Nov 28 02:09:43 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/kgi/Makefile.in libggi.macosx/default/kgi/Makefile.in
--- libggi/default/kgi/Makefile.in	Thu Nov 28 01:21:19 2002
+++ libggi.macosx/default/kgi/Makefile.in	Thu Nov 28 02:09:43 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_1/Makefile.in libggi.macosx/default/linear_1/Makefile.in
--- libggi/default/linear_1/Makefile.in	Thu Nov 28 01:21:19 2002
+++ libggi.macosx/default/linear_1/Makefile.in	Thu Nov 28 02:09:44 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_16/Makefile.in libggi.macosx/default/linear_16/Makefile.in
--- libggi/default/linear_16/Makefile.in	Thu Nov 28 01:21:20 2002
+++ libggi.macosx/default/linear_16/Makefile.in	Thu Nov 28 02:09:44 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_1_r/Makefile.in libggi.macosx/default/linear_1_r/Makefile.in
--- libggi/default/linear_1_r/Makefile.in	Thu Nov 28 01:21:20 2002
+++ libggi.macosx/default/linear_1_r/Makefile.in	Thu Nov 28 02:09:45 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_2/Makefile.in libggi.macosx/default/linear_2/Makefile.in
--- libggi/default/linear_2/Makefile.in	Thu Nov 28 01:21:21 2002
+++ libggi.macosx/default/linear_2/Makefile.in	Thu Nov 28 02:09:45 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_24/Makefile.in libggi.macosx/default/linear_24/Makefile.in
--- libggi/default/linear_24/Makefile.in	Thu Nov 28 01:21:22 2002
+++ libggi.macosx/default/linear_24/Makefile.in	Thu Nov 28 02:09:46 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_32/Makefile.in libggi.macosx/default/linear_32/Makefile.in
--- libggi/default/linear_32/Makefile.in	Thu Nov 28 01:21:22 2002
+++ libggi.macosx/default/linear_32/Makefile.in	Thu Nov 28 02:09:46 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_4/Makefile.in libggi.macosx/default/linear_4/Makefile.in
--- libggi/default/linear_4/Makefile.in	Thu Nov 28 01:21:23 2002
+++ libggi.macosx/default/linear_4/Makefile.in	Thu Nov 28 02:09:47 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_4_r/Makefile.in libggi.macosx/default/linear_4_r/Makefile.in
--- libggi/default/linear_4_r/Makefile.in	Thu Nov 28 01:21:24 2002
+++ libggi.macosx/default/linear_4_r/Makefile.in	Thu Nov 28 02:09:47 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/linear_8/Makefile.in libggi.macosx/default/linear_8/Makefile.in
--- libggi/default/linear_8/Makefile.in	Thu Nov 28 01:21:24 2002
+++ libggi.macosx/default/linear_8/Makefile.in	Thu Nov 28 02:09:48 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/planar/Makefile.in libggi.macosx/default/planar/Makefile.in
--- libggi/default/planar/Makefile.in	Thu Nov 28 01:21:25 2002
+++ libggi.macosx/default/planar/Makefile.in	Thu Nov 28 02:09:48 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/stubs/Makefile.in libggi.macosx/default/stubs/Makefile.in
--- libggi/default/stubs/Makefile.in	Thu Nov 28 01:21:25 2002
+++ libggi.macosx/default/stubs/Makefile.in	Thu Nov 28 02:09:49 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/text_16/Makefile.in libggi.macosx/default/text_16/Makefile.in
--- libggi/default/text_16/Makefile.in	Thu Nov 28 01:21:26 2002
+++ libggi.macosx/default/text_16/Makefile.in	Thu Nov 28 02:09:49 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/default/text_32/Makefile.in libggi.macosx/default/text_32/Makefile.in
--- libggi/default/text_32/Makefile.in	Thu Nov 28 01:21:27 2002
+++ libggi.macosx/default/text_32/Makefile.in	Thu Nov 28 02:09:50 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/Makefile.am libggi.macosx/display/Makefile.am
--- libggi/display/Makefile.am	Sun Oct 20 23:49:08 2002
+++ libggi.macosx/display/Makefile.am	Mon Oct 21 00:46:24 2002
@@ -2,4 +2,4 @@
 
 DIST_SUBDIRS = libkgi kgi X Xlib aa common directx fbdev file glide ipc \
 	lcd823 linvtsw mansync memory monotext multi palemu sub svgalib \
-	tele terminfo tile trueemu vcsa vgagl vgl xf86dga
+	tele terminfo tile trueemu vcsa vgagl vgl xf86dga quartz
diff -uNr --exclude=CVS libggi/display/Makefile.in libggi.macosx/display/Makefile.in
--- libggi/display/Makefile.in	Thu Nov 28 01:21:27 2002
+++ libggi.macosx/display/Makefile.in	Thu Nov 28 02:09:50 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
@@ -115,7 +118,7 @@
 
 DIST_SUBDIRS = libkgi kgi X Xlib aa common directx fbdev file glide ipc \
 	lcd823 linvtsw mansync memory monotext multi palemu sub svgalib \
-	tele terminfo tile trueemu vcsa vgagl vgl xf86dga
+	tele terminfo tile trueemu vcsa vgagl vgl xf86dga quartz
 
 subdir = display
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff -uNr --exclude=CVS libggi/display/X/Makefile.in libggi.macosx/display/X/Makefile.in
--- libggi/display/X/Makefile.in	Thu Nov 28 01:21:28 2002
+++ libggi.macosx/display/X/Makefile.in	Thu Nov 28 02:09:51 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/X/helper/Makefile.in libggi.macosx/display/X/helper/Makefile.in
--- libggi/display/X/helper/Makefile.in	Thu Nov 28 01:21:28 2002
+++ libggi.macosx/display/X/helper/Makefile.in	Thu Nov 28 02:09:51 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/X/helper/dbe/Makefile.in libggi.macosx/display/X/helper/dbe/Makefile.in
--- libggi/display/X/helper/dbe/Makefile.in	Thu Nov 28 01:21:29 2002
+++ libggi.macosx/display/X/helper/dbe/Makefile.in	Thu Nov 28 02:09:51 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/X/helper/dga/Makefile.in libggi.macosx/display/X/helper/dga/Makefile.in
--- libggi/display/X/helper/dga/Makefile.in	Thu Nov 28 01:21:29 2002
+++ libggi.macosx/display/X/helper/dga/Makefile.in	Thu Nov 28 02:09:52 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/X/helper/evi/Makefile.in libggi.macosx/display/X/helper/evi/Makefile.in
--- libggi/display/X/helper/evi/Makefile.in	Thu Nov 28 01:21:30 2002
+++ libggi.macosx/display/X/helper/evi/Makefile.in	Thu Nov 28 02:09:52 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/X/helper/shm/Makefile.in libggi.macosx/display/X/helper/shm/Makefile.in
--- libggi/display/X/helper/shm/Makefile.in	Thu Nov 28 01:21:31 2002
+++ libggi.macosx/display/X/helper/shm/Makefile.in	Thu Nov 28 02:09:53 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/X/helper/vidmode/Makefile.in libggi.macosx/display/X/helper/vidmode/Makefile.in
--- libggi/display/X/helper/vidmode/Makefile.in	Thu Nov 28 01:21:31 2002
+++ libggi.macosx/display/X/helper/vidmode/Makefile.in	Thu Nov 28 02:09:53 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/Xlib/Makefile.in libggi.macosx/display/Xlib/Makefile.in
--- libggi/display/Xlib/Makefile.in	Thu Nov 28 01:21:32 2002
+++ libggi.macosx/display/Xlib/Makefile.in	Thu Nov 28 02:09:54 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/aa/Makefile.in libggi.macosx/display/aa/Makefile.in
--- libggi/display/aa/Makefile.in	Thu Nov 28 01:21:32 2002
+++ libggi.macosx/display/aa/Makefile.in	Thu Nov 28 02:09:54 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/common/Makefile.in libggi.macosx/display/common/Makefile.in
--- libggi/display/common/Makefile.in	Thu Nov 28 01:21:33 2002
+++ libggi.macosx/display/common/Makefile.in	Thu Nov 28 02:09:54 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/directx/Makefile.in libggi.macosx/display/directx/Makefile.in
--- libggi/display/directx/Makefile.in	Thu Nov 28 01:21:33 2002
+++ libggi.macosx/display/directx/Makefile.in	Thu Nov 28 02:09:55 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/fbdev/Makefile.in libggi.macosx/display/fbdev/Makefile.in
--- libggi/display/fbdev/Makefile.in	Thu Nov 28 01:21:34 2002
+++ libggi.macosx/display/fbdev/Makefile.in	Thu Nov 28 02:09:55 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/file/Makefile.in libggi.macosx/display/file/Makefile.in
--- libggi/display/file/Makefile.in	Thu Nov 28 01:21:34 2002
+++ libggi.macosx/display/file/Makefile.in	Thu Nov 28 02:09:56 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/glide/Makefile.in libggi.macosx/display/glide/Makefile.in
--- libggi/display/glide/Makefile.in	Thu Nov 28 01:21:35 2002
+++ libggi.macosx/display/glide/Makefile.in	Thu Nov 28 02:09:56 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/ipc/Makefile.in libggi.macosx/display/ipc/Makefile.in
--- libggi/display/ipc/Makefile.in	Thu Nov 28 01:21:36 2002
+++ libggi.macosx/display/ipc/Makefile.in	Thu Nov 28 02:09:57 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/kgi/Makefile.in libggi.macosx/display/kgi/Makefile.in
--- libggi/display/kgi/Makefile.in	Thu Nov 28 01:21:36 2002
+++ libggi.macosx/display/kgi/Makefile.in	Thu Nov 28 02:09:57 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/lcd823/Makefile.in libggi.macosx/display/lcd823/Makefile.in
--- libggi/display/lcd823/Makefile.in	Thu Nov 28 01:21:37 2002
+++ libggi.macosx/display/lcd823/Makefile.in	Thu Nov 28 02:09:58 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/libkgi/Makefile.in libggi.macosx/display/libkgi/Makefile.in
--- libggi/display/libkgi/Makefile.in	Thu Nov 28 01:21:38 2002
+++ libggi.macosx/display/libkgi/Makefile.in	Thu Nov 28 02:09:58 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/linvtsw/Makefile.in libggi.macosx/display/linvtsw/Makefile.in
--- libggi/display/linvtsw/Makefile.in	Thu Nov 28 01:21:39 2002
+++ libggi.macosx/display/linvtsw/Makefile.in	Thu Nov 28 02:09:59 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/mansync/Makefile.in libggi.macosx/display/mansync/Makefile.in
--- libggi/display/mansync/Makefile.in	Thu Nov 28 01:21:39 2002
+++ libggi.macosx/display/mansync/Makefile.in	Thu Nov 28 02:09:59 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/memory/Makefile.in libggi.macosx/display/memory/Makefile.in
--- libggi/display/memory/Makefile.in	Thu Nov 28 01:21:40 2002
+++ libggi.macosx/display/memory/Makefile.in	Thu Nov 28 02:10:00 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/monotext/Makefile.in libggi.macosx/display/monotext/Makefile.in
--- libggi/display/monotext/Makefile.in	Thu Nov 28 01:21:41 2002
+++ libggi.macosx/display/monotext/Makefile.in	Thu Nov 28 02:10:01 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/multi/Makefile.in libggi.macosx/display/multi/Makefile.in
--- libggi/display/multi/Makefile.in	Thu Nov 28 01:21:41 2002
+++ libggi.macosx/display/multi/Makefile.in	Thu Nov 28 02:10:01 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/palemu/Makefile.in libggi.macosx/display/palemu/Makefile.in
--- libggi/display/palemu/Makefile.in	Thu Nov 28 01:21:42 2002
+++ libggi.macosx/display/palemu/Makefile.in	Thu Nov 28 02:10:02 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/quartz/.cvsignore libggi.macosx/display/quartz/.cvsignore
--- libggi/display/quartz/.cvsignore	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/.cvsignore	Mon Oct 14 18:56:48 2002
@@ -0,0 +1 @@
+Makefile.in
diff -uNr --exclude=CVS libggi/display/quartz/EXPSYMS libggi.macosx/display/quartz/EXPSYMS
--- libggi/display/quartz/EXPSYMS	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/EXPSYMS	Wed Oct 16 20:26:37 2002
@@ -0,0 +1 @@
+GGIdl_quartz
diff -uNr --exclude=CVS libggi/display/quartz/Makefile.am libggi.macosx/display/quartz/Makefile.am
--- libggi/display/quartz/Makefile.am	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/Makefile.am	Sun Nov  3 15:52:44 2002
@@ -0,0 +1,14 @@
+INCLUDES = -I$(top_srcdir)/include $(extra_includes)
+quartz_la_LIBADD = $(top_builddir)/ggi/libggi.la -lgii -lgg
+quartz_la_LDFLAGS = $(extra_libraries) -module -no-undefined -avoid-version \
+	-export-symbols $(srcdir)/EXPSYMS
+
+sublib_LTLIBRARIES = quartz.la
+
+quartz_la_SOURCES = mode.m visual.m color.m gc.m
+
+sublibdir = $(libdir)/$(ggi_subdir)/display
+
+EXTRA_DIST = EXPSYMS
+AM_CPPFLAGS = -no-cpp-precomp -I/System/Library/Frameworks
+AM_LDFLAGS = -Xlinker -framework -Xlinker ApplicationServices -Xlinker -framework -Xlinker Cocoa
diff -uNr --exclude=CVS libggi/display/quartz/Makefile.in libggi.macosx/display/quartz/Makefile.in
--- libggi/display/quartz/Makefile.in	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/Makefile.in	Thu Nov 28 02:10:02 2002
@@ -0,0 +1,384 @@
+# Makefile.in generated by automake 1.6.1 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = @program_transform_name@
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
+
+EXEEXT = @EXEEXT@
+OBJEXT = @OBJEXT@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+AMTAR = @AMTAR@
+AS = @AS@
+AWK = @AWK@
+CC = @CC@
+DEFAULTSUBDIRS = @DEFAULTSUBDIRS@
+DEPDIR = @DEPDIR@
+DISPLAYSUBDIRS = @DISPLAYSUBDIRS@
+DLLEXT = @DLLEXT@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+FBDEVSUBDIRS = @FBDEVSUBDIRS@
+INCLTDL = @INCLTDL@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBADD_DL = @LIBADD_DL@
+LIBLTDL = @LIBLTDL@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
+OBJDUMP = @OBJDUMP@
+PACKAGE = @PACKAGE@
+RANLIB = @RANLIB@
+SHMDEMOS = @SHMDEMOS@
+STRIP = @STRIP@
+THREADLIBS = @THREADLIBS@
+VERSION = @VERSION@
+XSUBDIRS = @XSUBDIRS@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+am__include = @am__include@
+am__quote = @am__quote@
+bsdsock_libs = @bsdsock_libs@
+directfb_driver_dir = @directfb_driver_dir@
+dynload_libs = @dynload_libs@
+extra_includes = @extra_includes@
+extra_libraries = @extra_libraries@
+ggi_subdir = @ggi_subdir@
+install_sh = @install_sh@
+monitest_extralibs = @monitest_extralibs@
+monitest_extraobj = @monitest_extraobj@
+monitest_extrasrc = @monitest_extrasrc@
+static_libdir = @static_libdir@
+static_sysconfdir = @static_sysconfdir@
+sublib_libs = @sublib_libs@
+terminfolibs = @terminfolibs@
+xf86dga_libs = @xf86dga_libs@
+INCLUDES = -I$(top_srcdir)/include $(extra_includes)
+quartz_la_LIBADD = $(top_builddir)/ggi/libggi.la -lgii -lgg
+quartz_la_LDFLAGS = $(extra_libraries) -module -no-undefined -avoid-version \
+	-export-symbols $(srcdir)/EXPSYMS
+
+
+sublib_LTLIBRARIES = quartz.la
+
+quartz_la_SOURCES = mode.m visual.m color.m gc.m
+
+sublibdir = $(libdir)/$(ggi_subdir)/display
+
+EXTRA_DIST = EXPSYMS
+AM_CPPFLAGS = -no-cpp-precomp -I/System/Library/Frameworks
+AM_LDFLAGS = -Xlinker -framework -Xlinker ApplicationServices -Xlinker -framework -Xlinker Cocoa
+subdir = display/quartz
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(sublib_LTLIBRARIES)
+
+quartz_la_DEPENDENCIES = $(top_builddir)/ggi/libggi.la
+am_quartz_la_OBJECTS = mode.lo visual.lo color.lo gc.lo
+quartz_la_OBJECTS = $(am_quartz_la_OBJECTS)
+
+DEFS = @DEFS@
+DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/color.Plo ./$(DEPDIR)/gc.Plo \
+@AMDEP_TRUE@	./$(DEPDIR)/mode.Plo ./$(DEPDIR)/visual.Plo
+OBJCCOMPILE = $(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS)
+LTOBJCCOMPILE = $(LIBTOOL) --mode=compile $(OBJC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_OBJCFLAGS) $(OBJCFLAGS)
+OBJCLD = $(OBJC)
+OBJCLINK = $(LIBTOOL) --mode=link $(OBJCLD) $(AM_OBJCFLAGS) $(OBJCFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+DIST_SOURCES = $(quartz_la_SOURCES)
+DIST_COMMON = Makefile.am Makefile.in
+SOURCES = $(quartz_la_SOURCES)
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .lo .m .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  display/quartz/Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+sublibLTLIBRARIES_INSTALL = $(INSTALL)
+install-sublibLTLIBRARIES: $(sublib_LTLIBRARIES)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(sublibdir)
+	@list='$(sublib_LTLIBRARIES)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+	    echo " $(LIBTOOL) --mode=install $(sublibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sublibdir)/$$f"; \
+	    $(LIBTOOL) --mode=install $(sublibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sublibdir)/$$f; \
+	  else :; fi; \
+	done
+
+uninstall-sublibLTLIBRARIES:
+	@$(NORMAL_UNINSTALL)
+	@list='$(sublib_LTLIBRARIES)'; for p in $$list; do \
+	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(sublibdir)/$$p"; \
+	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(sublibdir)/$$p; \
+	done
+
+clean-sublibLTLIBRARIES:
+	-test -z "$(sublib_LTLIBRARIES)" || rm -f $(sublib_LTLIBRARIES)
+quartz.la: $(quartz_la_OBJECTS) $(quartz_la_DEPENDENCIES) 
+	$(OBJCLINK) -rpath $(sublibdir) $(quartz_la_LDFLAGS) $(quartz_la_OBJECTS) $(quartz_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT) core *.core
+
+distclean-compile:
+	-rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mode.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/visual.Plo@am__quote@
+
+distclean-depend:
+	-rm -rf ./$(DEPDIR)
+
+.m.o:
+@AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@	$(OBJCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+	$(OBJCCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
+.m.obj:
+@AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@	$(OBJCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+	$(OBJCCOMPILE) -c -o $@ `cygpath -w $<`
+
+.m.lo:
+@AMDEP_TRUE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@	$(OBJCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+	$(LTOBJCCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ETAGS = etags
+ETAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+	@for file in $(DISTFILES); do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES)
+
+installdirs:
+	$(mkinstalldirs) $(DESTDIR)$(sublibdir)
+
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-sublibLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+
+distclean-am: clean-am distclean-compile distclean-depend \
+	distclean-generic distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-sublibLTLIBRARIES
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+uninstall-am: uninstall-info-am uninstall-sublibLTLIBRARIES
+
+.PHONY: GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-sublibLTLIBRARIES distclean \
+	distclean-compile distclean-depend distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am info \
+	info-am install install-am install-data install-data-am \
+	install-exec install-exec-am install-info install-info-am \
+	install-man install-strip install-sublibLTLIBRARIES \
+	installcheck installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool tags uninstall \
+	uninstall-am uninstall-info-am uninstall-sublibLTLIBRARIES
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff -uNr --exclude=CVS libggi/display/quartz/color.m libggi.macosx/display/quartz/color.m
--- libggi/display/quartz/color.m	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/color.m	Tue Nov 12 09:26:31 2002
@@ -0,0 +1,239 @@
+/* $Id: mode.c,v 1.5 2002/05/22 04:21:47 skids Exp $
+******************************************************************************
+
+   Display quartz : color management
+
+   Copyright (C) 2002 Christoph Egger
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included in
+   all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+   THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+******************************************************************************
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include <ggi/internal/debug.h>
+#include <ggi/display/quartz.h>
+
+
+int GGI_quartz_setpalvec(ggi_visual *vis,int start,int len,ggi_color *colormap)
+{
+	CGTableCount  i;
+	CGDeviceColor color;
+	ggi_quartz_priv *priv;
+
+	priv = QUARTZ_PRIV(vis);
+
+	GGIDPRINT("quartz setpalette.\n");
+
+	fprintf(stderr, "setpalvec (1)\n");
+	if (start == GGI_PALETTE_DONTCARE) {
+		if (len > priv->ncols) {
+			return -1;
+		}	/* if */
+
+		start = priv->ncols - len;
+	}	/* if */
+
+	fprintf(stderr, "setpalvec (2)\n");
+
+	if (colormap == NULL || start+len > priv->ncols || start < 0) return -1;
+
+	fprintf(stderr, "setpalvec (3)\n");
+
+	memcpy(vis->palette+start, colormap, len*sizeof(ggi_color));
+
+	for (i = start; i < start+len; i++) {
+		/* Clamp colors between 0.0 and 1.0 */
+		color.red   = colormap->r / 65535.0;
+		color.green = colormap->g / 65535.0;
+		color.blue  = colormap->b / 65535.0;
+
+		fprintf(stderr, "%i. colormap (%X, %X, %X), color (%.02f, %.02f, %.02f)\n",
+			i, colormap->r, colormap->g, colormap->b,
+			color.red, color.green, color.blue);
+
+		colormap++;
+
+		CGPaletteSetColorAtIndex (priv->palette, color, i);
+	}	/* for */
+
+	if ( CGDisplayNoErr != CGDisplaySetPalette (priv->display_id, priv->palette) )
+		return 0;
+
+	return 0;
+}	/* GGI_quartz_setpalvec */
+
+
+
+
+/* Gamma correction
+ */
+
+int GGI_quartz_setgamma(struct ggi_visual *vis,ggi_float r,ggi_float g,ggi_float b)
+{
+	ggi_quartz_priv *priv;
+	const CGGammaValue min = 0.0, max = 1.0;
+
+	priv = QUARTZ_PRIV(vis);
+
+	if (r == 0.0) {
+		r = FLT_MAX;
+	} else {
+		r = 1.0 / r;
+	}	/* if */
+
+	if (g == 0.0) {
+		g = FLT_MAX;
+	} else {
+		g = 1.0 / g;
+	}	/* if */
+
+	if (b == 0.0) {
+		b = FLT_MAX;
+	} else {
+		b  = 1.0 / b;
+	}	/* if */
+
+
+	if ( CGDisplayNoErr == CGSetDisplayTransferByFormula
+		(priv->display_id, min, max, r, min, max, g, min, max, b) )
+	{
+		return 0;
+	} else {
+		return -1;
+	}	/* if */
+}	/* GGI_quartz_setgamma */
+
+
+int GGI_quartz_getgamma(struct ggi_visual *vis,ggi_float *r,ggi_float *g,ggi_float *b)
+{
+	ggi_quartz_priv *priv;
+	CGGammaValue dummy;
+
+	priv = QUARTZ_PRIV(vis);
+
+	if ( CGDisplayNoErr != CGGetDisplayTransferByFormula
+	   (priv->display_id, &dummy, &dummy, (CGGammaValue *)r,
+		&dummy, &dummy, (CGGammaValue *)g,
+		&dummy, &dummy, (CGGammaValue *)b) )
+	{
+		return -1;
+	}	/* if */
+
+	return 0;
+}	/* GGI_quartz_getgamma */
+
+
+int GGI_quartz_setgammamap(ggi_visual *vis, int start, int len, ggi_color *colormap)
+{
+	int i;
+	ggi_quartz_priv *priv;
+
+	/* Note: If the compiler breaks here,
+	 * then it is not ANSI C99 conform.
+	 */
+	const CGTableCount tableSize = len;
+	CGGammaValue redTable[tableSize];
+	CGGammaValue greenTable[tableSize];
+	CGGammaValue blueTable[tableSize];
+
+	priv = QUARTZ_PRIV(vis);
+
+	if (colormap == NULL) return -1;
+	if (start >= priv->ncols) return -1;
+	if (start < 0) return -1;
+	if (len > (priv->ncols - start)) return -1;
+
+	/* Extract gamma values into separate tables,
+	 * convert to floats between 0.0 and 1.0
+	 */
+
+#if 0
+	i = 0;
+	do {
+		if ((start + i) < priv->gamma.maxwrite_r) {
+			priv->gammamap[start + i].red   = colormap[i].r;
+		}	/* if */
+		if ((start + i) < priv->gamma.maxwrite_g) {
+			priv->gammamap[start + i].green = colormap[i].g;
+		}	/* if */
+		if ((start + i) < priv->gamma.maxwrite_b) {
+			priv->gammamap[start + i].blue  = colormap[i].b;
+		}	/* if */
+	} while (i++ < len);
+#endif
+
+	i = 0;
+	do {
+		redTable[i] = colormap[i].r / 65535.0;
+		greenTable[i] = colormap[i].g / 65535.0;
+		blueTable[i] = colormap[i].b / 65535.0;
+	} while (i++ < len);
+
+	if ( CGDisplayNoErr != CGSetDisplayTransferByTable
+	  (priv->display_id, tableSize, redTable, greenTable, blueTable) )
+	{
+		return -1;
+	}	/* if */
+
+	return 0;
+}	/* GGI_quartz_setgammamap */
+
+
+int GGI_quartz_getgammamap(ggi_visual *vis, int start, int len, ggi_color *colormap)
+{
+	ggi_quartz_priv *priv = QUARTZ_PRIV(vis);
+
+	/* Note: If the compiler breaks here,
+	 * then it is not ANSI C99 conform.
+	 */
+	const CGTableCount tableSize = priv->ncols;
+	CGGammaValue redTable[tableSize];
+	CGGammaValue greenTable[tableSize];
+	CGGammaValue blueTable[tableSize];
+	CGTableCount actualSize;
+	int i;
+
+	if (colormap==NULL) return -1;
+	if (start >= priv->ncols) return -1;
+	if (start < 0) return -1;
+	if (len > (priv->ncols - start)) return -1;
+
+
+	if ( CGDisplayNoErr != CGGetDisplayTransferByTable
+	  (priv->display_id, tableSize, redTable, greenTable, blueTable, &actualSize))
+	{
+		return -1;
+	}	/* if */
+
+	if (len < actualSize) len = actualSize;
+	if (len < start) return -1;
+
+	/* Pack tables into one array, with values from 0 to 65535 */
+	i = 0;
+	do {
+		colormap[i].r = redTable[start + i] * 65535.0;
+		colormap[i].g = greenTable[start + i] * 65535.0;
+		colormap[i].b = blueTable[start + i] * 65535.0;
+	} while (i++ < len);
+
+	return 0;
+}	/* GGI_quartz_getgammamap */
diff -uNr --exclude=CVS libggi/display/quartz/gc.m libggi.macosx/display/quartz/gc.m
--- libggi/display/quartz/gc.m	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/gc.m	Tue Oct 29 00:13:26 2002
@@ -0,0 +1,59 @@
+/* $Id: mode.c,v 1.5 2002/05/22 04:21:47 skids Exp $
+******************************************************************************
+
+   Display quartz : color management
+
+   Copyright (C) 2002 Christoph Egger
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included in
+   all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+   THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+******************************************************************************
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include <ggi/internal/debug.h>
+#include <ggi/display/quartz.h>
+
+
+void GGI_quartz_gcchanged(ggi_visual *vis, int mask)
+{
+	ggi_quartz_priv *priv;
+
+	priv = QUARTZ_PRIV(vis);
+
+#if 0
+	if ((mask & GGI_GCCHANGED_CLIP)) {
+		ggiSetGCClipping(vis,
+				LIBGGI_GC(vis)->cliptl.x,
+				LIBGGI_GC(vis)->cliptl.y,
+				LIBGGI_GC(vis)->clipbr.x,
+				LIBGGI_GC(vis)->clipbr.y);
+	}	/* if */
+
+	if ((mask & GGI_GCCHANGED_FG)) {
+		ggiSetGCForeground(vis, LIBGGI_GC_FGCOLOR(vis));
+	}	/* if */
+	if ((mask & GGI_GCCHANGED_BG)) {
+		ggiSetGCBackground(vis, LIBGGI_GC_BGCOLOR(vis));
+	}	/* if */
+#endif
+
+}	/* GGI_quartz_gcchanged */
diff -uNr --exclude=CVS libggi/display/quartz/man.xml libggi.macosx/display/quartz/man.xml
--- libggi/display/quartz/man.xml	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/man.xml	Mon Oct 14 23:29:21 2002
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE refentry PUBLIC
+  "-//OASIS//DTD DocBook XML V4.1.2//EN"
+  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<refentry id="ref-display-macosx">
+
+<refmeta>
+<refentrytitle><systemitem>display-macosx</systemitem></refentrytitle>
+<manvolnum>7ggi</manvolnum>
+<refmiscinfo>GGI</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname><systemitem>display-macosx</systemitem></refname>
+<refpurpose>Display on a Mac OS X</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+<command>display-macosx</command>
+<arg choice="plain">:</arg>
+<arg><option>-physz=<replaceable>sizex</replaceable>,<replaceable>sizey</replaceable><replaceable>dpi</replaceable></option></arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+<title>Description</title>
+
+<para>
+Emulates a linear framebuffer in main memory. The framebuffer can be a
+shared memory segment, an area specified by the application, or an area
+allocated by <systemitem>display-memory</systemitem> itself.
+</para>
+
+</refsect1>
+
+<refsect1>
+<title>Options</title>
+
+<variablelist>
+
+<varlistentry>
+<term><option>-physz=<replaceable>sizex</replaceable>,<replaceable>sizey</replaceable><replaceable>dpi</replaceable></option></term>
+<listitem><para>
+This option will provide a physical screen size for applications which
+wish to remain resolution independent.  
+<replaceable>sizex</replaceable>,<replaceable>sizey</replaceable> are the x,y
+size of the screen in millimeters, unless the optional
+<replaceable>dpi</replaceable>
+string is affixed, in which case, they represent resolution in dots-per-inch.
+</para></listitem>
+</varlistentry>
+
+</variablelist>
+  
+<important><para>
+If you specify a memory area to use - be sure it's big enough as no
+checks can or will be made that a certain mode fits into it.
+</para></important>
+
+</refsect1>
+
+<refsect1>
+<title>Features</title>
+
+<simplelist>
+<member>DirectBuffer support always available.</member>
+<member>Unaccelerated.</member>
+</simplelist>
+
+</refsect1>
+
+</refentry>
diff -uNr --exclude=CVS libggi/display/quartz/mode.m libggi.macosx/display/quartz/mode.m
--- libggi/display/quartz/mode.m	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/mode.m	Tue Nov 19 20:27:08 2002
@@ -0,0 +1,359 @@
+/* $Id: mode.c,v 1.5 2002/05/22 04:21:47 skids Exp $
+******************************************************************************
+
+   Display quartz : mode management
+
+   Copyright (C) 2002 Christoph Egger
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included in
+   all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+   THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+******************************************************************************
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include <ggi/internal/debug.h>
+#include <ggi/display/quartz.h>
+
+#include "../common/pixfmt-setup.inc"
+#include "../common/ggi-auto.inc"
+#include "../common/gt-auto.inc"
+
+int GGI_quartz_getapi(ggi_visual *vis,int num, char *apiname ,char *arguments)
+{
+	strcpy(arguments,"");
+
+	switch(num) {
+	case 0: strcpy(apiname, "display-quartz");
+		return 0;
+	case 1: strcpy(apiname, "generic-stubs");
+		return 0;
+	case 2: strcpy(apiname, "generic-color");
+		return 0;
+	case 3:
+		if (GT_SCHEME(LIBGGI_GT(vis)) == GT_TEXT) {
+			sprintf(apiname, "generic-text-%d",
+				GT_SIZE(LIBGGI_GT(vis)));
+		} else {
+			sprintf(apiname, "generic-linear-%d%s",
+				GT_SIZE(LIBGGI_GT(vis)),
+				(LIBGGI_GT(vis) & GT_SUB_HIGHBIT_RIGHT)
+				? "-r" : "");
+		}	/* if */
+		strcpy(arguments, "");
+		return 0;
+	}	/* switch */
+
+	return -1;
+}	/* GGI_quartz_getapi */
+
+
+
+static int _GGInumberForKey( CFDictionaryRef desc, CFStringRef key )
+{
+	CFNumberRef value;
+	int num = 0;
+
+	if ( (value = CFDictionaryGetValue(desc, key)) == NULL ) {
+		return 0;
+	}	/* if */
+	CFNumberGetValue(value, kCFNumberIntType, &num);
+	return num;
+}	/* _GGInumberForKey */
+
+
+static void _GGIfreedbs(ggi_visual *vis)
+{
+	int i;
+
+	for (i=LIBGGI_APPLIST(vis)->num-1; i >= 0; i--) {
+		_ggi_db_free(LIBGGI_APPBUFS(vis)[i]);
+		_ggi_db_del_buffer(LIBGGI_APPLIST(vis), i);
+	}	/* for */
+}	/* _GGIfreedbs */
+
+
+static void _GGIallocdbs(ggi_visual *vis)
+{
+	int i;
+	uint8 *fb_ptr;
+	ggi_mode *tm;
+	ggi_quartz_priv *priv;
+
+	priv = QUARTZ_PRIV(vis);
+
+	tm = LIBGGI_MODE(vis);
+
+	priv->fb = (uint8 *)CGDisplayBaseAddress(priv->display_id);
+	priv->stride = CGDisplayBytesPerRow(priv->display_id);
+
+#if 0
+	priv->window = NSMakeRect(0, 0, tm->visible.x, tm->visible.y);
+#endif
+
+	fb_ptr = priv->fb;
+	for (i = 0; i < tm->frames; i++) {
+
+		_ggi_db_add_buffer(LIBGGI_APPLIST(vis), _ggi_db_get_new());
+		LIBGGI_APPBUFS(vis)[i]->frame = i;
+		LIBGGI_APPBUFS(vis)[i]->type = GGI_DB_NORMAL | GGI_DB_SIMPLE_PLB;
+		LIBGGI_APPBUFS(vis)[i]->read = fb_ptr;
+		LIBGGI_APPBUFS(vis)[i]->write = fb_ptr;
+		LIBGGI_APPBUFS(vis)[i]->layout = blPixelLinearBuffer;
+		LIBGGI_APPBUFS(vis)[i]->buffer.plb.stride = priv->stride;
+		LIBGGI_APPBUFS(vis)[i]->buffer.plb.pixelformat = 
+			LIBGGI_PIXFMT(vis);
+
+		fb_ptr += LIBGGI_APPBUFS(vis)[i]->buffer.plb.stride*tm->virt.y;
+	}	/* for */
+
+	return;
+}	/* _GGIallocdbs */
+
+
+
+static int _ggi_load_mode_libs(ggi_visual *vis)
+{
+	int err, i;
+	char	name[256];
+	char	args[256];
+
+	GGIDPRINT("display-quartz: _ggi_load_mode_libs: called\n");
+
+	_ggiZapMode(vis, 0);
+	for(i=1; 0 == GGI_quartz_getapi(vis, i, name, args); i++) {
+		err = _ggiOpenDL(vis, name, args, NULL);
+		if (err) {
+			fprintf(stderr,"display-quartz: Can't open the "
+				"%s (%s) library.\n", name, args);
+			return GGI_EFATAL;
+		} else {
+			GGIDPRINT_LIBS("Success in loading %s (%s)\n",
+				name, args);
+		}	/* if */
+	}	/* for */
+	ggiIndicateChange(vis, GGI_CHG_APILIST);
+
+	return 0;
+}	/* _ggi_load_mode_libs */
+
+
+int GGI_quartz_checkmode(ggi_visual *vis, ggi_mode *mode)
+{
+	int err = 0;
+	ggi_quartz_priv *priv;
+	CFDictionaryRef bestmode;
+	boolean_t exactMatch;
+
+	priv = QUARTZ_PRIV(vis);
+
+	/* Take care of automatic graphtype selection */
+	_GGIhandle_ggiauto(mode,
+			_GGInumberForKey(priv->cur_mode, kCGDisplayWidth),
+			_GGInumberForKey(priv->cur_mode, kCGDisplayHeight));
+
+	if (mode->graphtype == GT_AUTO) {
+		switch (_GGInumberForKey(priv->cur_mode, kCGDisplayBitsPerPixel)) {
+		case 1: mode->graphtype = GT_1BIT; break;
+		case 2: mode->graphtype = GT_2BIT; break;
+		case 4: mode->graphtype = GT_4BIT; break;
+		case 8: mode->graphtype = GT_8BIT; break;
+		case 15: mode->graphtype = GT_15BIT; break;
+		case 16: mode->graphtype = GT_16BIT; break;
+		case 24: mode->graphtype = GT_24BIT; break;
+		case 32: mode->graphtype = GT_32BIT; break;
+		}	/* switch */
+	}	/* if */
+
+	mode->graphtype = _GGIhandle_gtauto(mode->graphtype);
+
+	if (mode->frames == GGI_AUTO) mode->frames = 1;
+
+	if (mode->frames != 1) {
+		err = -1;
+		mode->frames = 1;
+	}	/* if */
+
+	if ((mode->dpp.x != 1 && mode->dpp.x != GGI_AUTO) ||
+	    (mode->dpp.y != 1 && mode->dpp.y != GGI_AUTO))
+	{
+		err = -1;
+	}	/* if */
+	mode->dpp.x = mode->dpp.y = 1;
+
+#if 1
+	fprintf(stderr, "Check for mode: ");
+	ggiFPrintMode(stderr, mode);
+	fprintf(stderr, "\n");
+#endif
+
+	bestmode = CGDisplayBestModeForParameters(priv->display_id, GT_DEPTH(mode->graphtype),
+						mode->visible.x, mode->visible.y,
+						&exactMatch);
+	if (bestmode == NULL) {
+		/* invalid display */
+		return GGI_ENODEVICE;
+	}	/* if */
+
+	priv->suggest_mode = bestmode;
+
+	/* do some checks */
+	if (!exactMatch) {
+		mode->visible.x = _GGInumberForKey(bestmode, kCGDisplayWidth);
+		mode->visible.y = _GGInumberForKey(bestmode, kCGDisplayHeight);
+
+		switch (_GGInumberForKey(bestmode, kCGDisplayBitsPerPixel)) {
+		case 1: mode->graphtype = GT_1BIT; break;
+		case 2: mode->graphtype = GT_2BIT; break;
+		case 4: mode->graphtype = GT_4BIT; break;
+		case 8: mode->graphtype = GT_8BIT; break;
+		case 15: mode->graphtype = GT_15BIT; break;
+		case 16: mode->graphtype = GT_16BIT; break;
+		case 24: mode->graphtype = GT_24BIT; break;
+		case 32: mode->graphtype = GT_32BIT; break;
+		}	/* switch */
+		if ( CGDisplayCanSetPalette(priv->display_id) ) {
+			fprintf(stderr, "checkmode: palette mode\n");
+			GT_SETSCHEME(mode->graphtype, GT_PALETTE);
+		} else {
+			fprintf(stderr, "checkmode: truecolor mode\n");
+			GT_SETSCHEME(mode->graphtype, GT_TRUECOLOR);
+		}	/* if */
+	}	/* if */
+
+	/* Quartz has no virtual resolutions. */
+	if (mode->virt.x != mode->visible.x) {
+		mode->virt.x = mode->visible.x;
+		err = -1;
+	}	/* if */
+
+	if (mode->virt.y != mode->visible.y) {
+		mode->virt.y = mode->visible.y;
+		err = -1;
+	}	/* if */
+
+#if 1
+	fprintf(stderr, "Got mode: ");
+	ggiFPrintMode(stderr, mode);
+	fprintf(stderr, "\n");
+#endif
+
+	if (err) return err;
+	err = _ggi_figure_physz(mode, priv->physzflags,
+				&(priv->physz),
+				0, 0, mode->visible.x, mode->visible.y);
+
+	return err;
+}	/* GGI_quartz_checkmode */
+
+
+int GGI_quartz_setmode(ggi_visual *vis, ggi_mode *mode)
+{
+	int err;
+	ggi_quartz_priv *priv;
+
+	priv = QUARTZ_PRIV(vis);
+
+	GGIDPRINT("display-quartz: GGIsetmode: called\n");
+
+	LIBGGI_APPASSERT(vis != NULL, "GGI_memory_setmode: Visual == NULL");
+
+	if ((err = ggiCheckMode(vis, mode)) != 0) return err;
+
+	/* some elements of the mode setup rely on this. */
+	memcpy(LIBGGI_MODE(vis), mode, sizeof(ggi_mode));
+
+	err = CGDisplaySwitchToMode(priv->display_id, priv->suggest_mode);
+	if ( err != CGDisplayNoErr ) {
+		/* FIXME: I don't know, whether err is positive or negative */
+		return (err >= 0) ? -err : err;
+	}	/* if */
+
+	_GGIfreedbs(vis);
+
+	priv->cur_mode = CGDisplayCurrentMode(priv->display_id);
+
+	switch (_GGInumberForKey(priv->cur_mode, kCGDisplayBitsPerPixel)) {
+	case 1: mode->graphtype = GT_1BIT; break;
+	case 2: mode->graphtype = GT_2BIT; break;
+	case 4: mode->graphtype = GT_4BIT; break;
+	case 8: mode->graphtype = GT_8BIT; break;
+	case 15: mode->graphtype = GT_15BIT; break;
+	case 16: mode->graphtype = GT_16BIT; break;
+	case 24: mode->graphtype = GT_24BIT; break;
+	case 32: mode->graphtype = GT_32BIT; break;
+	}	/* switch */
+	if ( CGDisplayCanSetPalette(priv->display_id) ) {
+		GT_SETSCHEME(mode->graphtype, GT_PALETTE);
+	} else {
+		GT_SETSCHEME(mode->graphtype, GT_TRUECOLOR);
+	}	/* if */
+
+	priv->ncols = 1 << GT_DEPTH(mode->graphtype);
+	if (GT_SCHEME(mode->graphtype) == GT_PALETTE) {
+		fprintf(stderr, "setmode: palette mode\n");
+		vis->palette = _ggi_malloc(sizeof(ggi_color) * priv->ncols);
+		vis->opcolor->setpalvec = GGI_quartz_setpalvec;
+	}	/* if */
+
+	/* Pixel format */
+	memset(LIBGGI_PIXFMT(vis), 0, sizeof(ggi_pixelformat));
+	setup_pixfmt(LIBGGI_PIXFMT(vis), mode->graphtype);
+
+	_GGIallocdbs(vis);
+	_ggi_build_pixfmt(LIBGGI_PIXFMT(vis));
+
+	err = _ggi_load_mode_libs(vis);
+	GGIDPRINT("display-quartz: GGIsetmode: domode=%d\n",err);
+	if (err) return err;
+
+	ggiIndicateChange(vis, GGI_CHG_APILIST);
+	GGIDPRINT("display-quartz: GGIsetmode: change indicated\n",err);
+
+	return 0;
+}	/* GGI_quartz_setmode */
+
+
+int GGI_quartz_getmode(ggi_visual *vis, ggi_mode *mode)
+{
+	ggi_mode mymode;
+	GGIDPRINT("display-quartz: GGIgetmode(%p,%p)\n", vis, mode);
+
+	memcpy(&mymode, LIBGGI_MODE(vis), sizeof(ggi_mode));
+	memcpy(mode, &mymode, sizeof(ggi_mode));
+
+	return 0;
+}	/* GGI_quartz_getmode */
+
+
+int GGI_quartz_setflags(ggi_visual *vis, ggi_flags flags)
+{
+	LIBGGI_FLAGS(vis) = flags;
+	LIBGGI_FLAGS(vis) &= GGIFLAG_ASYNC; /* Unkown flags don't take. */
+	return 0;
+}	/* GGI_quartz_setflags */
+
+
+int GGI_quartz_flush(ggi_visual *vis,
+		int x, int y, int w, int h, int tryflag)
+{
+#warning Implement flush()
+	return 0;
+}	/* GGI_quartz_flush */
diff -uNr --exclude=CVS libggi/display/quartz/visual.m libggi.macosx/display/quartz/visual.m
--- libggi/display/quartz/visual.m	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/display/quartz/visual.m	Tue Nov 19 16:17:18 2002
@@ -0,0 +1,236 @@
+/* $Id: visual.c,v 1.9 2002/10/09 22:10:25 skids Exp $
+******************************************************************************
+
+   Display-quartz: initialization
+
+   Copyright (C) 2002 Christoph Egger
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included in
+   all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+   THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+******************************************************************************
+*/
+
+#include <stdlib.h>
+#include <string.h>
+
+#include "config.h"
+#include <ggi/display/quartz.h>
+
+static const gg_option optlist[] =
+{
+	{ "physz", "0,0" },
+	{ "noinput", "no" },
+};
+
+#define OPT_PHYSZ	0
+#define OPT_NOINPUT	1
+
+#define NUM_OPTS	(sizeof(optlist)/sizeof(gg_option))
+
+
+
+
+static int GGIclose(ggi_visual *vis, struct ggi_dlhandle *dlh)
+{
+	ggi_quartz_priv *priv;
+	NSAutoreleasePool *pool;
+
+	priv = QUARTZ_PRIV(vis);
+
+	pool = [ [ NSAutoreleasePool alloc ] init ];
+
+	[ priv->GGIApp terminate:priv->window ];
+
+	/* Restore original screen resolution/bpp */
+	CGDisplaySwitchToMode (priv->display_id, priv->save_mode);
+	CGDisplayRelease (priv->display_id);
+	CGPaletteRelease (priv->palette);
+
+	/* Restore gamma settings */
+	CGDisplayRestoreColorSyncSettings ();
+
+	/* Ensure the cursor will be visible and working when we quit */
+	CGDisplayShowCursor (priv->display_id);
+	CGAssociateMouseAndMouseCursorPosition (1);
+
+	free(LIBGGI_PRIVATE(vis));
+	free(LIBGGI_GC(vis));
+	LIBGGI_PRIVATE(vis) = NULL;
+	LIBGGI_GC(vis) = NULL;
+
+	[ pool release ];
+
+	return 0;
+}	/* GGIclose */
+
+
+static int GGIopen(ggi_visual *vis, struct ggi_dlhandle *dlh,
+			const char *args, void *argptr, uint32 *dlret)
+{
+	int err;
+	ggi_quartz_priv *priv;
+	gg_option options[NUM_OPTS];
+
+	NSAutoreleasePool *pool;
+
+	GGIDPRINT_MISC("display-quartz coming up.\n");
+
+	memcpy(options, optlist, sizeof(options));
+
+	LIBGGI_GC(vis) = calloc(1, sizeof(ggi_gc));
+	if (!LIBGGI_GC(vis)) return GGI_ENOMEM;
+
+	/* Allocate descriptor for screen memory */
+	priv = LIBGGI_PRIVATE(vis) = calloc(1,sizeof(ggi_quartz_priv));
+	if (!priv) {
+		free(LIBGGI_GC(vis));
+		return GGI_ENOMEM;
+	}	/* if */
+
+	if (args) {
+		args = ggParseOptions((char *) args, options, NUM_OPTS);
+		if (args == NULL) {
+			fprintf(stderr, "display-quartz: error in "
+				"arguments.\n");
+		}	/* if */
+	}	/* if */
+
+	fprintf(stderr, "create pool\n");
+
+	pool = [ [ NSAutoreleasePool alloc ] init ];
+
+	err = _ggi_parse_physz(options[OPT_PHYSZ].result,
+				&(priv->physzflags),
+				&(priv->physz));
+	if (err != GGI_OK) goto out;
+
+	fprintf(stderr, "call sharedApplication\n");
+
+	/* Ensure the application object is initialized */
+	[ NSApplication sharedApplication ];
+
+	priv->GGIApp = NSApp;
+	priv->window = [ priv->GGIApp keyWindow ];
+
+	/* Initialize the video settings; this data persists between mode switches */
+	priv->display_id = CGMainDisplayID();
+	priv->save_mode  = CGDisplayCurrentMode    (priv->display_id);
+	priv->cur_mode  = CGDisplayCurrentMode    (priv->display_id);
+	priv->mode_list  = CGDisplayAvailableModes (priv->display_id);
+	priv->palette    = CGPaletteCreateDefaultColorPalette ();
+
+	/* Put up the blanking window (a window above all other windows) */
+	if ( CGDisplayNoErr != CGDisplayCapture (priv->display_id) ) {
+		/* Failed capturing display */
+		goto out;
+	}	/* if */
+
+
+	vis->opdisplay->checkmode	= GGI_quartz_checkmode;
+	vis->opdisplay->setmode		= GGI_quartz_setmode;
+	vis->opdisplay->getmode		= GGI_quartz_getmode;
+
+	vis->opdisplay->getapi		= GGI_quartz_getapi;
+	vis->opdisplay->setflags	= GGI_quartz_setflags;
+	vis->opdisplay->flush		= GGI_quartz_flush;
+
+#if 0
+	vis->opgc			= GGI_quartz_gcchanged;
+#endif
+
+	vis->opcolor->setpalvec		= GGI_quartz_setpalvec;
+	vis->opcolor->setgamma		= GGI_quartz_setgamma;
+	vis->opcolor->getgamma		= GGI_quartz_getgamma;
+	vis->opcolor->setgammamap	= GGI_quartz_setgammamap;
+	vis->opcolor->getgammamap	= GGI_quartz_getgammamap;
+
+
+	if (tolower((int)options[OPT_NOINPUT].result[0]) == 'n') {
+		gii_input *inp;
+		gii_inputcocoa_arg args;
+
+		args.GGIApp = NSApp;
+		args.window = priv->window;
+#if 0
+		args.gglock = lock;
+#endif
+		fprintf(stderr, "giiOpen(cocoa)\n");
+
+		inp = giiOpen("cocoa", &args, NULL);
+		if (inp == NULL) {
+			GGIDPRINT_MISC("Unable to open cocoa inputlib\n");
+			err = GGI_ENODEVICE;
+			fprintf(stderr, "Unable to open cocoa inputlib\n");
+			goto out;
+		}	/* if */
+
+		priv->inp = inp;
+		/* Now join the new event source in. */
+		vis->input = giiJoinInputs(vis->input, inp);
+	} else {
+		priv->inp = NULL;
+	}	/* if */
+
+	fprintf(stderr, "release pool\n");
+
+	[ pool release ];
+
+	*dlret = GGI_DL_OPDISPLAY;
+	return 0;
+
+ out:
+	fprintf(stderr, "release pool\n");
+
+	[ pool release ];
+
+	fprintf(stderr, "GGIopen: out\n");
+	GGIclose(vis, dlh);
+	return err;
+}	/* GGIopen */
+
+
+static int GGIexit(ggi_visual *vis, struct ggi_dlhandle *dlh)
+{
+#if 0
+	if (QUARTZ_PRIV(vis)->opmansync) MANSYNC_deinit(vis);
+#endif
+	return 0;
+}     /* GGIexit */
+
+
+
+int GGIdl_quartz(int func, void **funcptr)
+{
+	switch (func) {
+	case GGIFUNC_open:
+		*funcptr = GGIopen;
+		return 0;
+	case GGIFUNC_exit:
+		*funcptr = GGIexit;
+		return 0;
+	case GGIFUNC_close:
+		*funcptr = GGIclose;
+		return 0;
+	default:
+		*funcptr = NULL;
+	}	/* switch */
+
+	return GGI_ENOTFOUND;
+}	/* GGIdl_quartz */
+
+#include <ggi/internal/ggidlinit.h>
diff -uNr --exclude=CVS libggi/display/sub/Makefile.in libggi.macosx/display/sub/Makefile.in
--- libggi/display/sub/Makefile.in	Thu Nov 28 01:21:43 2002
+++ libggi.macosx/display/sub/Makefile.in	Thu Nov 28 02:10:03 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/svgalib/Makefile.in libggi.macosx/display/svgalib/Makefile.in
--- libggi/display/svgalib/Makefile.in	Thu Nov 28 01:21:44 2002
+++ libggi.macosx/display/svgalib/Makefile.in	Thu Nov 28 02:10:04 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/tele/Makefile.in libggi.macosx/display/tele/Makefile.in
--- libggi/display/tele/Makefile.in	Thu Nov 28 01:21:44 2002
+++ libggi.macosx/display/tele/Makefile.in	Thu Nov 28 02:10:04 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/terminfo/Makefile.in libggi.macosx/display/terminfo/Makefile.in
--- libggi/display/terminfo/Makefile.in	Thu Nov 28 01:21:45 2002
+++ libggi.macosx/display/terminfo/Makefile.in	Thu Nov 28 02:10:05 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/tile/Makefile.in libggi.macosx/display/tile/Makefile.in
--- libggi/display/tile/Makefile.in	Thu Nov 28 01:21:46 2002
+++ libggi.macosx/display/tile/Makefile.in	Thu Nov 28 02:10:06 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/trueemu/Makefile.in libggi.macosx/display/trueemu/Makefile.in
--- libggi/display/trueemu/Makefile.in	Thu Nov 28 01:21:47 2002
+++ libggi.macosx/display/trueemu/Makefile.in	Thu Nov 28 02:10:06 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/vcsa/Makefile.in libggi.macosx/display/vcsa/Makefile.in
--- libggi/display/vcsa/Makefile.in	Thu Nov 28 01:21:47 2002
+++ libggi.macosx/display/vcsa/Makefile.in	Thu Nov 28 02:10:07 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/vgagl/Makefile.in libggi.macosx/display/vgagl/Makefile.in
--- libggi/display/vgagl/Makefile.in	Thu Nov 28 01:21:48 2002
+++ libggi.macosx/display/vgagl/Makefile.in	Thu Nov 28 02:10:08 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/vgl/Makefile.in libggi.macosx/display/vgl/Makefile.in
--- libggi/display/vgl/Makefile.in	Thu Nov 28 01:21:49 2002
+++ libggi.macosx/display/vgl/Makefile.in	Thu Nov 28 02:10:08 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/display/xf86dga/Makefile.in libggi.macosx/display/xf86dga/Makefile.in
--- libggi/display/xf86dga/Makefile.in	Thu Nov 28 01:21:49 2002
+++ libggi.macosx/display/xf86dga/Makefile.in	Thu Nov 28 02:10:09 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/dist/Makefile.in libggi.macosx/dist/Makefile.in
--- libggi/dist/Makefile.in	Thu Nov 28 01:21:49 2002
+++ libggi.macosx/dist/Makefile.in	Thu Nov 28 02:10:09 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/dist/rpm/Makefile.in libggi.macosx/dist/rpm/Makefile.in
--- libggi/dist/rpm/Makefile.in	Thu Nov 28 01:21:50 2002
+++ libggi.macosx/dist/rpm/Makefile.in	Thu Nov 28 02:10:09 2002
@@ -84,6 +84,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/doc/Makefile.in libggi.macosx/doc/Makefile.in
--- libggi/doc/Makefile.in	Thu Nov 28 01:21:50 2002
+++ libggi.macosx/doc/Makefile.in	Thu Nov 28 02:10:10 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/doc/man/Makefile.in libggi.macosx/doc/man/Makefile.in
--- libggi/doc/man/Makefile.in	Thu Nov 28 01:21:50 2002
+++ libggi.macosx/doc/man/Makefile.in	Thu Nov 28 02:10:10 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/extensions/Makefile.in libggi.macosx/extensions/Makefile.in
--- libggi/extensions/Makefile.in	Thu Nov 28 01:21:51 2002
+++ libggi.macosx/extensions/Makefile.in	Thu Nov 28 02:10:10 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/extensions/test/Makefile.in libggi.macosx/extensions/test/Makefile.in
--- libggi/extensions/test/Makefile.in	Thu Nov 28 01:21:51 2002
+++ libggi.macosx/extensions/test/Makefile.in	Thu Nov 28 02:10:11 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/ggi/Makefile.in libggi.macosx/ggi/Makefile.in
--- libggi/ggi/Makefile.in	Thu Nov 28 01:21:52 2002
+++ libggi.macosx/ggi/Makefile.in	Thu Nov 28 02:10:11 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/include/Makefile.in libggi.macosx/include/Makefile.in
--- libggi/include/Makefile.in	Thu Nov 28 01:21:52 2002
+++ libggi.macosx/include/Makefile.in	Thu Nov 28 02:10:12 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/include/ggi/Makefile.in libggi.macosx/include/ggi/Makefile.in
--- libggi/include/ggi/Makefile.in	Thu Nov 28 01:21:52 2002
+++ libggi.macosx/include/ggi/Makefile.in	Thu Nov 28 02:10:12 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/include/ggi/default/Makefile.in libggi.macosx/include/ggi/default/Makefile.in
--- libggi/include/ggi/default/Makefile.in	Thu Nov 28 01:21:53 2002
+++ libggi.macosx/include/ggi/default/Makefile.in	Thu Nov 28 02:10:12 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/include/ggi/display/Makefile.in libggi.macosx/include/ggi/display/Makefile.in
--- libggi/include/ggi/display/Makefile.in	Thu Nov 28 01:21:53 2002
+++ libggi.macosx/include/ggi/display/Makefile.in	Thu Nov 28 02:10:13 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/include/ggi/display/quartz.h libggi.macosx/include/ggi/display/quartz.h
--- libggi/include/ggi/display/quartz.h	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/include/ggi/display/quartz.h	Tue Nov 19 16:04:08 2002
@@ -0,0 +1,89 @@
+/* $Id: memory.h,v 1.4 2002/05/22 13:10:19 skids Exp $
+******************************************************************************
+
+   Display-quartz: headers
+
+   Copyright (C) 2002 Christoph Egger
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included in
+   all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+   THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+******************************************************************************
+*/
+
+#ifndef _GGI_DISPLAY_QUARTZ_H
+#define _GGI_DISPLAY_QUARTZ_H
+
+#include <ggi/internal/ggi-dl.h>
+#include <ggi/gii.h>
+
+#include <ggi/input/cocoa.h>
+#include <ApplicationServices/ApplicationServices.h>
+#include <Cocoa/Cocoa.h>
+
+ggifunc_checkmode	GGI_quartz_checkmode;
+ggifunc_getmode		GGI_quartz_getmode;
+ggifunc_setmode		GGI_quartz_setmode;
+
+ggifunc_getapi		GGI_quartz_getapi;
+ggifunc_setflags	GGI_quartz_setflags;
+ggifunc_setpalvec	GGI_quartz_setpalvec;
+ggifunc_flush		GGI_quartz_flush;
+ggifunc_gcchanged	GGI_quartz_gcchanged;
+
+ggifunc_setgamma	GGI_quartz_setgamma;
+ggifunc_getgamma	GGI_quartz_getgamma;
+ggifunc_setgammamap	GGI_quartz_setgammamap;
+ggifunc_getgammamap	GGI_quartz_getgammamap;
+
+
+typedef struct {
+	int		physzflags;
+	ggi_coord	physz;
+
+	NSApplication	*GGIApp;
+	NSWindow	*window;	/* Cocoa window */
+
+	size_t stride;
+	uint8 *fb;
+
+	/* 0 == main display (only support single display) */
+	CGDirectDisplayID  display_id;
+
+	/* current mode of the display */
+	CFDictionaryRef    cur_mode;
+	/* original mode of the display */
+	CFDictionaryRef    save_mode;
+	/* suggested mode from ggiCheckMode */
+	CFDictionaryRef    suggest_mode;
+	/* list of available fullscreen modes */
+	CFArrayRef	   mode_list;
+
+	/* palette of an 8-bit display */
+	CGDirectPaletteRef palette;
+
+	int		ncols;		/* Number of colors in the colormap */
+	ggi_color	*gammamap;
+	ggi_gammastate	gamma;
+
+	gii_input	*inp;
+} ggi_quartz_priv;
+
+
+#define QUARTZ_PRIV(vis) ((ggi_quartz_priv *)LIBGGI_PRIVATE(vis))
+
+#endif /* _GGI_DISPLAY_QUARTZ_H */
diff -uNr --exclude=CVS libggi/include/ggi/internal/Makefile.in libggi.macosx/include/ggi/internal/Makefile.in
--- libggi/include/ggi/internal/Makefile.in	Thu Nov 28 01:21:53 2002
+++ libggi.macosx/include/ggi/internal/Makefile.in	Thu Nov 28 02:10:13 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/include/ggi/internal/debug.h libggi.macosx/include/ggi/internal/debug.h
--- libggi/include/ggi/internal/debug.h	Wed Oct  9 23:53:55 2002
+++ libggi.macosx/include/ggi/internal/debug.h	Thu Oct 24 21:25:03 2002
@@ -61,6 +61,8 @@
 
 #define GGIDEBUG_ALL	0xffffffff
 
+#define DEBUG_INFO	__FILE__,__PRETTY_FUNCTION__,__LINE__
+
 #ifdef __GNUC__
 
 #ifdef DEBUG
diff -uNr --exclude=CVS libggi/include/ggi/internal/font/Makefile.in libggi.macosx/include/ggi/internal/font/Makefile.in
--- libggi/include/ggi/internal/font/Makefile.in	Thu Nov 28 01:21:54 2002
+++ libggi.macosx/include/ggi/internal/font/Makefile.in	Thu Nov 28 02:10:13 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
Binary files libggi/libggi-2.0.2-rc3.tar.bz2 and libggi.macosx/libggi-2.0.2-rc3.tar.bz2 differ
diff -uNr --exclude=CVS libggi/libggi.conf.in libggi.macosx/libggi.conf.in
--- libggi/libggi.conf.in	Thu Oct 24 01:54:09 2002
+++ libggi.macosx/libggi.conf.in	Thu Oct 24 01:55:18 2002
@@ -21,6 +21,7 @@
 display-aa			display/aa.@DLLEXT@
 display-directx			display/directx.@DLLEXT@
 display-directxnt		display/directxnt.@DLLEXT@
+display-quartz			display/quartz.@DLLEXT@
 display-file			display/file.@DLLEXT@
 display-fbdev			display/fbdev.@DLLEXT@
 display-glide			display/glide.@DLLEXT@
@@ -51,6 +52,7 @@
 aa				display/aa.@DLLEXT@
 directx				display/directx.@DLLEXT@
 directxnt			display/directxnt.@DLLEXT@
+quartz				display/quartz.@DLLEXT@
 file				display/file.@DLLEXT@
 fbdev				display/fbdev.@DLLEXT@
 glide				display/glide.@DLLEXT@
diff -uNr --exclude=CVS libggi/m4/Makefile.in libggi.macosx/m4/Makefile.in
--- libggi/m4/Makefile.in	Thu Nov 28 01:21:54 2002
+++ libggi.macosx/m4/Makefile.in	Thu Nov 28 02:10:14 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/programs/Makefile.in libggi.macosx/programs/Makefile.in
--- libggi/programs/Makefile.in	Thu Nov 28 01:21:54 2002
+++ libggi.macosx/programs/Makefile.in	Thu Nov 28 02:10:14 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/programs/check/Makefile.in libggi.macosx/programs/check/Makefile.in
--- libggi/programs/check/Makefile.in	Thu Nov 28 01:21:55 2002
+++ libggi.macosx/programs/check/Makefile.in	Thu Nov 28 02:10:15 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/programs/demos/Makefile.in libggi.macosx/programs/demos/Makefile.in
--- libggi/programs/demos/Makefile.in	Thu Nov 28 01:21:56 2002
+++ libggi.macosx/programs/demos/Makefile.in	Thu Nov 28 02:10:16 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/programs/demos/evlog libggi.macosx/programs/demos/evlog
--- libggi/programs/demos/evlog	Thu Jan  1 01:00:00 1970
+++ libggi.macosx/programs/demos/evlog	Mon Nov  4 00:53:17 2002
@@ -0,0 +1,24 @@
+LibGII: Debugging=255
+LibGGI: Debugging=255
+LibGGI: ggiOpen("(null)") called
+LibGGI: ggiOpen("quartz") called
+LibGGI: Loading driver quartz
+LibGGI: _ggiAddDL(0xd18b0, "quartz", "(null)", 0x1) called
+LibGGI: _ggiLoadDL("/Users/christop/devel/ggiroot/lib/ggi/display/quartz.so", 0x1) called 
+LibGGI: hand.handle=0xd1cb0
+LibGGI: &(GGIdl_quartz) = 0x155d88
+LibGGI: hand.open = 0x155aa0
+LibGGI: hand.exit = 0x155d80
+LibGGI: hand.close = 0x155a30
+LibGGI: _ggiLoadDL returned 0 (0xd3f40)
+LibGGI: display-quartz coming up.
+LibGII: Allocating input structure
+LibGII: _giiEvQueueAllocate(0xe0dd0) called
+LibGII: Got queue_set: 0xd56d0
+LibGII: giiOpen adding "quartz", "", 0x0
+LibGII: _giiLoadDL("quartz","(NULL)") called 
+LibGII: hand.handle=0xdabf0
+LibGII: hand.init=0x29e7a0
+LibGII: _giiLoadDL returned 0xe75f0
+LibGII: quartz input starting. (args=,argptr=0x0)
+QuartzInit: pool = 0xee480, object = 0xe7430
diff -uNr --exclude=CVS libggi/programs/demos/warp-ggi/Makefile.in libggi.macosx/programs/demos/warp-ggi/Makefile.in
--- libggi/programs/demos/warp-ggi/Makefile.in	Thu Nov 28 01:21:56 2002
+++ libggi.macosx/programs/demos/warp-ggi/Makefile.in	Thu Nov 28 02:10:16 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/programs/util/Makefile.in libggi.macosx/programs/util/Makefile.in
--- libggi/programs/util/Makefile.in	Thu Nov 28 01:21:57 2002
+++ libggi.macosx/programs/util/Makefile.in	Thu Nov 28 02:10:17 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
diff -uNr --exclude=CVS libggi/programs/util/monitest/Makefile.in libggi.macosx/programs/util/monitest/Makefile.in
--- libggi/programs/util/monitest/Makefile.in	Thu Nov 28 01:21:57 2002
+++ libggi.macosx/programs/util/monitest/Makefile.in	Thu Nov 28 02:10:18 2002
@@ -82,6 +82,9 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
+OBJC = @OBJC@
+OBJCDEPMODE = @OBJCDEPMODE@
+OBJCFLAGS = @OBJCFLAGS@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
