patchGNU Autoconf Archive - Patches: patch #7285, Some improvements to the...


patch #7285: Some improvements to the AX_LIB_MYSQL macro

Submitter:  Wim Lewis <wiml>
Submitted:  Wed 18 Aug 2010 07:57:31 AM UTC
Priority:  5 - Normal Status:  Done
Assigned to:  simons Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Wed 18 Aug 2010 04:35:49 PM UTC, comment #1: 

Your patches have been committed in 329d839efa8d43e066ec7abd6af91650f5130145. Thank you for the submission!

Peter Simons <simons>
Group administrator
Wed 18 Aug 2010 07:57:31 AM UTC, original submission:  

The test for $MYSQL_CONFIG has an extra "-o test", which, if I understand test(1) syntax correctly, means the test can never fail, even when it should. This pair of patches fixes that bug and makes a few other small changes:

  - $MYSQL_CONFIG is a precious var
  - don't set HAVE_MYSQL if we checked the version and discovered it's too old
  - If mysql_config isn't found, see if we can find mysql_config5.

It looks like the AX_LIB_POSTGRESQL macro should probably be given the same changes, but I'm not in a position to test that right now.

Wim Lewis <wiml>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #21249:  0002-Bug-fixes-for-AX_LIB_MYSQL.patch added by wiml (2KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by simons (macro author)
  • -email is unavailable- added by wiml (Submitted the item)

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-08-18 simons StatusNone Done
        Assigned toNone simons
        Open/ClosedOpen Closed
        Carbon-Copy- Added mateusz loskot <>
    2010-08-18 wiml Attached File- Added 0002-Bug-fixes-for-AX_LIB_MYSQL.patch, #21249
        Attached File- Added 0003-AX_LIB_MYSQL-If-mysql_config-isn-t-found-see-if-we-c.patch, #21250

    Back to the top

    Powered by Savane 3.12