Changeset 300

Show
Ignore:
Timestamp:
04/25/2005 03:08:23 AM (3 years ago)
Author:
jan
Message:

mysql 4.0.15 and below only provide --cflags

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r296 r300  
    9898      echo "--with-mysql=path-to-mysql_config" 
    9999    fi 
    100     MYSQL_INCLUDE="`$withval --include | sed s/\'//g`" 
     100    if $withval | grep -- '--include' ; then 
     101      MYSQL_INCLUDE="`$withval --include | sed s/\'//g`" 
     102    else 
     103      MYSQL_INCLUDE="`$withval --cflags | sed s/\'//g`" 
     104    fi 
    101105    MYSQL_LIBS="`$withval --libs | sed s/\'//g`" 
    102106