I am trying to add an option to my ./configure script. I need to add the location to mysql.h but a few methods I have tried and keep getting the error: configure: error: unrecognized option: –mysql=/usr/local/mysql/include/mysql/
How do I add the option to my configure script aswell as to add the header file which is specified.
You’re probably looking for AC_ARG_WITH. Something like this:
Then run
./configure --with-mysql=/foo.