nss-mysql-devel
[Top][All Lists]
Advanced

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

[Nss-mysql-devel] [bug #18717] configure breaks on x86_64: acinclude.m4


From: Jan Engelhardt
Subject: [Nss-mysql-devel] [bug #18717] configure breaks on x86_64: acinclude.m4 at fault
Date: Sun, 07 Jan 2007 01:06:11 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20061023 SUSE/2.0.0.1-0.1 Firefox/2.0.0.2pre

URL:
  <http://savannah.nongnu.org/bugs/?18717>

                 Summary: configure breaks on x86_64: acinclude.m4 at fault
                 Project: NSS MySQL
            Submitted by: hirogen2
            Submitted on: Sunday 01/07/2007 at 02:06
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Note this line in acinclude.m4 in nss-mysql-1.0:

        MYSQL_LIB=${MYSQL_HOME}/lib/mysql                                    
  

This assumption is wrong, because for x86_64, mysql is in /usr/lib64 for
example. It seems unfortunate, but the only way I see is to use

  MYSQL_LIB=`mysql_config --libs | grep -Eo
'(^|[[:space:]])-L[^[:space:]]+'`

or

  MYSQL_LIB=`mysql_config --libs | grep -Po '(^|\s+)-L\S+'`




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18717>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]