[AD] Prettify configure info on Unix

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


This patch turns 'shared' into 'dynamically linked' and 'static' into 
'statically linked' for the compiled programs and also adds the comma in:

Generated libraries: shared release debug, static release debug

Applied to mainline and 4.0 branch.

-- 
Eric Botcazou
--- /home/eric/cvs/allegro/configure.in	Tue May 11 18:48:06 2004
+++ allegro/configure.in	Sat May 15 10:58:23 2004
@@ -268,13 +268,13 @@
   LINK_LIBALLEG="$LIBALLEG \$(LIBS)"
   LINK_WITH_STATIC_LIBS=yes
   allegro_static_libraries=yes
-  _programs="static $_programs"
+  _programs="statically linked $_programs"
 else
   LIBALLEG="lib/unix/lib${LIB_TO_LINK}-\$(shared_version).so lib/unix/lib${LIB_TO_LINK}_unsharable.a"
   LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK}-\$(shared_version) -l${LIB_TO_LINK}_unsharable -lm"
   LINK_WITH_STATIC_LIBS=no
   allegro_shared_libraries=yes
-  _programs="shared $_programs"
+  _programs="dynamically linked $_programs"
 fi
 AC_SUBST(LIBALLEG)
 AC_SUBST(LINK_LIBALLEG)
@@ -304,6 +304,10 @@
   fi
 fi
 if test "X$allegro_shared_libraries" = "Xyes"; then
+  if test -n "$_libraries"; then
+    _libraries="$_libraries,"
+  fi
+
   _libraries="$_libraries shared"
   if test "X$allegro_build_normal_library" = "Xyes"; then
     ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballeg-\$(shared_version).so lib/unix/liballeg_unsharable.a"


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