Update of /cvsroot/audacity/audacity-src
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17402

Modified Files:
        configure.in configure 
Log Message:
Add LIBS to fix linking with new "gold" linker


Index: configure
===================================================================
RCS file: /cvsroot/audacity/audacity-src/configure,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- configure   7 Nov 2009 12:26:54 -0000       1.182
+++ configure   12 Dec 2009 18:43:59 -0000      1.183
@@ -1,18 +1,20 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63.
+# Generated by GNU Autoconf 2.64.
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
+# Foundation, Inc.
+#
 # This configure script is free software; the Free Software Foundation
[...9763 lines suppressed...]
+      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL 
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file 
--srcdir=$ac_srcdir" >&5
 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args 
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
       # The eval makes quoting arguments work.
       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
-       { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for 
$ac_dir" >&5
-$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
-   { (exit 1); exit 1; }; }
+       as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
     fi
 
     cd "$ac_popdir"
   done
 fi
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; 
then
-  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: 
$ac_unrecognized_opts" >&5
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: 
$ac_unrecognized_opts" >&5
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 

Index: configure.in
===================================================================
RCS file: /cvsroot/audacity/audacity-src/configure.in,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- configure.in        13 Jul 2009 19:40:11 -0000      1.151
+++ configure.in        12 Dec 2009 18:43:59 -0000      1.152
@@ -528,24 +528,32 @@
       CONFIGHEADER="configwin.h"
     
       AC_DEFINE(__CYGWIN__,1,[We're using cygwin])
+      dnl ' (end endless string in vim)
       AC_DEFINE(_FILE_OFFSET_BITS,32,[Placeholder for large file support])
     
       AFTERBUILD=""
       ;;
 
    *)
-      dnl Unix OSS configuration
+      dnl Unix configuration
       CONFIGHEADER="configunix.h"
       AFTERBUILD=""
       EXTRAINSTALLTARGETS="$EXTRAINSTALLTARGETS install-extra-data"
       EXTRAUNINSTALLTARGETS="$EXTRAUNINSTALLTARGETS uninstall-extra-data"
 
+      dnl On Unix we always use dlopen
+      AC_SEARCH_LIBS([dlopen], [dl])
+      if [[ "$ac_cv_search_dlopen" = no ]]; then
+         AC_MSG_ERROR(dlopen not found, required by Audacity)
+      fi
+
       AC_SUBST(HAVE_GTK)
       PKG_CHECK_MODULES(GTK, gtk+-2.0, have_gtk=yes, have_gtk=no)
       if [[ "$have_gtk" = "yes" ]]
       then
          AC_DEFINE(HAVE_GTK, 1, [Define if GTK is available])
          CPPFLAGS="$CPPFLAGS $GTK_CFLAGS"
+         LIBS="$LIBS $GTK_LIBS"
       fi
    ;;
 esac


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to