Re: [AD] build process broken on IRIX

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> * The SGI AL driver doesn't get built as a module

The attached patch should fix the problem. Could you try it ? You'll need to 
delete 'configure' and 'makefile.dep' and rebuild them with 'autoconf' and 
'./configure'.

> * The detection of the export-dynamic linker option causes a false
>   positive because it's failure causes a warning, and not an error:
>
>   ldXX: WARNING 1: Unknown option: export-dynamic (ignored)
>   (where XX is 32 or 64 depending on ABI.)

Now on the TODO list.

-- 
Eric Botcazou
--- /home/eric/cvs/allegro/configure.in	Fri Nov 15 12:13:26 2002
+++ allegro/configure.in	Thu Dec  5 18:45:00 2002
@@ -318,7 +318,7 @@
 
 dnl Test for SGI AL drivers.
 ALLEGRO_ACTEST_SGIALDIGI
-if test -n "$allegro_cv_support_sgialdigi"; then
+if test "$allegro_cv_support_sgialdigi" = yes; then
    AC_DEFINE(ALLEGRO_WITH_SGIALDIGI)
 fi
 
@@ -468,6 +468,11 @@
     ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-fbcon.so"
   fi
 
+  dnl DGA2.
+  if test "X$allegro_support_xf86dga2" = "Xyes"; then
+    ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-dga2.so"
+  fi
+
   dnl ALSA DIGI.
   if test "X$allegro_cv_support_alsadigi" = "Xyes"; then
     ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-alsadigi.so"
@@ -488,9 +493,9 @@
     ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-artsdigi.so"
   fi
 
-  dnl DGA2.
-  if test "X$allegro_support_xf86dga2" = "Xyes"; then
-    ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-dga2.so"
+  dnl SGI AL DIGI.
+  if test "X$allegro_cv_support_sgialdigi" = "Xyes"; then
+    ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-sgialdigi.so"
   fi
 fi
 AC_SUBST(ALLEGRO_MODULE_TARGETS)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/