From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 Epiphany/1.0.4 Description of problem: I have never seen any program use quotes to pass these flags. What's more, testing for mysqlclient using AC_CHECK_LIB fails because of this. removing the quoting from mysql_config makes it work correctly again. I suggest the quotes be removed from mysql_config. Version-Release number of selected component (if applicable): mysql-3.23.58-4 How reproducible: Always Steps to Reproduce: 1. mysql_config --libs 2. 3. Additional info:
This behavior seems perfectly reasonable to me, and indeed necessary in some scenarios --- consider a pathname that contains spaces. If AC_CHECK_LIB has a problem with it, I suggest you should file a bug against autoconf.
Hm. I have yet to see the first project do that though :) You think it is better to start filing bugs with all upstream pkg-config using projects to start quoting their libs ?
mysql is probably more sensitive to the spaces-in-pathnames issue than most projects, since they have a heavily used Windows port and spaces in pathnames are quite common on Windows. So you'd probably not get much uptake on the idea from other projects. I do not however feel a desire to second-guess the mysql project's coding. Out of curiosity, why do you say that this breaks AC_CHECK_LIB? I would not have thought that AC_CHECK_LIB knows anything at all about mysql_config.
*** This bug has been marked as a duplicate of 129409 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.