<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[120162] trunk/dports/lang/qore-mysql-module</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/120162">120162</a></dd>
<dt>Author</dt> <dd>davidnichols@macports.org</dd>
<dt>Date</dt> <dd>2014-05-17 08:27:28 -0700 (Sat, 17 May 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>implemented mariadb (default) and mysql56 variants, included patches for compiling on Mavericks with XCode 5.1, cannot use -Wl,-x in link anymore since Apple LLVM 5.1 will fail with optimizations enabled</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangqoremysqlmodulePortfile">trunk/dports/lang/qore-mysql-module/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/lang/qore-mysql-module/files/</li>
<li><a href="#trunkdportslangqoremysqlmodulefilespatchconfigure">trunk/dports/lang/qore-mysql-module/files/patch-configure</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangqoremysqlmodulePortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/qore-mysql-module/Portfile (120161 => 120162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/qore-mysql-module/Portfile        2014-05-17 15:26:05 UTC (rev 120161)
+++ trunk/dports/lang/qore-mysql-module/Portfile        2014-05-17 15:27:28 UTC (rev 120162)
</span><span class="lines">@@ -19,7 +19,20 @@
</span><span class="cx">                     sha1 4c219ce39d2fc0c025e1dc46fe7a6a8bff5f0020 \
</span><span class="cx">                     rmd160 172c9f9ebee4b638e470e096e1537d6decff3af3
</span><span class="cx"> 
</span><del>-depends_lib         port:qore \
-                    path:bin/mysql_config5:mysql5
</del><ins>+depends_lib         port:qore
</ins><span class="cx"> 
</span><span class="cx"> configure.args      --disable-debug
</span><ins>+
+patchfiles          patch-configure
+
+variant mariadb {
+    depends_lib-append      port:mariadb
+}
+
+variant mysql56 { 
+    depends_lib-append      port:mysql56
+}
+
+if {![variant_isset mariadb] &amp;&amp; ![variant_isset mysql56]} {
+    default_variants +mariadb
+}
</ins></span></pre></div>
<a id="trunkdportslangqoremysqlmodulefilespatchconfigure"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/qore-mysql-module/files/patch-configure (0 => 120162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/qore-mysql-module/files/patch-configure                                (rev 0)
+++ trunk/dports/lang/qore-mysql-module/files/patch-configure        2014-05-17 15:27:28 UTC (rev 120162)
</span><span class="lines">@@ -0,0 +1,554 @@
</span><ins>+--- configure.orig        2014-05-17 17:13:57.000000000 +0200
++++ configure        2014-05-17 17:14:12.000000000 +0200
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by GNU Autoconf 2.69 for qore-mysql-module 2.0.1.
++# Generated by GNU Autoconf 2.69 for qore-mysql-module 2.0.2.
+ #
+ # Report bugs to &lt;David Nichols &lt;david@qore.org&gt;&gt;.
+ #
+@@ -590,8 +590,8 @@
+ # Identity of this package.
+ PACKAGE_NAME='qore-mysql-module'
+ PACKAGE_TARNAME='qore-mysql-module'
+-PACKAGE_VERSION='2.0.1'
+-PACKAGE_STRING='qore-mysql-module 2.0.1'
++PACKAGE_VERSION='2.0.2'
++PACKAGE_STRING='qore-mysql-module 2.0.2'
+ PACKAGE_BUGREPORT='David Nichols &lt;david@qore.org&gt;'
+ PACKAGE_URL=''

+@@ -713,6 +713,10 @@
+ LDFLAGS
+ CXXFLAGS
+ CXX
++AM_BACKSLASH
++AM_DEFAULT_VERBOSITY
++AM_DEFAULT_V
++AM_V
+ am__untar
+ am__tar
+ AMTAR
+@@ -777,6 +781,7 @@
+ ac_subst_files=''
+ ac_user_opts='
+ enable_option_checking
++enable_silent_rules
+ enable_dependency_tracking
+ enable_static
+ enable_shared
+@@ -1348,7 +1353,7 @@
+   # Omit some internal or obsolete options to make the list less imposing.
+   # This message is too long to be a string in the A/UX 3.1 sh.
+   cat &lt;&lt;_ACEOF
+-\`configure' configures qore-mysql-module 2.0.1 to adapt to many kinds of systems.
++\`configure' configures qore-mysql-module 2.0.2 to adapt to many kinds of systems.

+ Usage: $0 [OPTION]... [VAR=VALUE]...

+@@ -1419,7 +1424,7 @@

+ if test -n &quot;$ac_init_help&quot;; then
+   case $ac_init_help in
+-     short | recursive ) echo &quot;Configuration of qore-mysql-module 2.0.1:&quot;;;
++     short | recursive ) echo &quot;Configuration of qore-mysql-module 2.0.2:&quot;;;
+    esac
+   cat &lt;&lt;\_ACEOF

+@@ -1427,6 +1432,8 @@
+   --disable-option-checking  ignore unrecognized --enable/--with options
+   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-silent-rules   less verbose build output (undo: &quot;make V=1&quot;)
++  --disable-silent-rules  verbose build output (undo: &quot;make V=0&quot;)
+   --enable-dependency-tracking
+                           do not reject slow dependency extractors
+   --disable-dependency-tracking
+@@ -1536,7 +1543,7 @@
+ test -n &quot;$ac_init_help&quot; &amp;&amp; exit $ac_status
+ if $ac_init_version; then
+   cat &lt;&lt;\_ACEOF
+-qore-mysql-module configure 2.0.1
++qore-mysql-module configure 2.0.2
+ generated by GNU Autoconf 2.69

+ Copyright (C) 2012 Free Software Foundation, Inc.
+@@ -2046,7 +2053,7 @@
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.

+-It was created by qore-mysql-module $as_me 2.0.1, which was
++It was created by qore-mysql-module $as_me 2.0.2, which was
+ generated by GNU Autoconf 2.69.  Invocation command line was

+   $ $0 $@
+@@ -2394,7 +2401,7 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu


+-am__api_version='1.12'
++am__api_version='1.14'

+ ac_aux_dir=
+ for ac_dir in &quot;$srcdir&quot; &quot;$srcdir/..&quot; &quot;$srcdir/../..&quot;; do
+@@ -2607,8 +2614,8 @@
+   esac
+ fi
+ # Use eval to expand $SHELL
+-if eval &quot;$MISSING --run true&quot;; then
+-  am_missing_run=&quot;$MISSING --run &quot;
++if eval &quot;$MISSING --is-lightweight&quot;; then
++  am_missing_run=&quot;$MISSING &quot;
+ else
+   am_missing_run=
+   { $as_echo &quot;$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing&quot; &gt;&amp;5
+@@ -2848,6 +2855,45 @@
+ fi
+ rmdir .tst 2&gt;/dev/null

++# Check whether --enable-silent-rules was given.
++if test &quot;${enable_silent_rules+set}&quot; = set; then :
++  enableval=$enable_silent_rules;
++fi
++
++case $enable_silent_rules in # (((
++  yes) AM_DEFAULT_VERBOSITY=0;;
++   no) AM_DEFAULT_VERBOSITY=1;;
++    *) AM_DEFAULT_VERBOSITY=1;;
++esac
++am_make=${MAKE-make}
++{ $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables&quot; &gt;&amp;5
++$as_echo_n &quot;checking whether $am_make supports nested variables... &quot; &gt;&amp;6; }
++if ${am_cv_make_support_nested_variables+:} false; then :
++  $as_echo_n &quot;(cached) &quot; &gt;&amp;6
++else
++  if $as_echo 'TRUE=$(BAR$(V))
++BAR0=false
++BAR1=true
++V=1
++am__doit:
++        @$(TRUE)
++.PHONY: am__doit' | $am_make -f - &gt;/dev/null 2&gt;&amp;1; then
++  am_cv_make_support_nested_variables=yes
++else
++  am_cv_make_support_nested_variables=no
++fi
++fi
++{ $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables&quot; &gt;&amp;5
++$as_echo &quot;$am_cv_make_support_nested_variables&quot; &gt;&amp;6; }
++if test $am_cv_make_support_nested_variables = yes; then
++    AM_V='$(V)'
++  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
++else
++  AM_V=$AM_DEFAULT_VERBOSITY
++  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
++fi
++AM_BACKSLASH='\'
++
+ if test &quot;`cd $srcdir &amp;&amp; pwd`&quot; != &quot;`pwd`&quot;; then
+   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+   # is not polluted with repeated &quot;-I.&quot;
+@@ -2870,7 +2916,7 @@

+ # Define the identity of the package.
+  PACKAGE='qore-mysql-module'
+- VERSION='2.0.1'
++ VERSION='2.0.2'


+ cat &gt;&gt;confdefs.h &lt;&lt;_ACEOF
+@@ -2911,92 +2957,173 @@
+ AMTAR='$${TAR-tar}'


+-{ $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive&quot; &gt;&amp;5
+-$as_echo_n &quot;checking how to create a ustar tar archive... &quot; &gt;&amp;6; }
+-# Loop over all known methods to create a tar archive until one works.
++# We'll loop over all known methods to create a tar archive until one works.
+ _am_tools='gnutar plaintar pax cpio none'
+-_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
+-# Do not fold the above two line into one, because Tru64 sh and
+-# Solaris sh will not grok spaces in the rhs of '-'.
+-for _am_tool in $_am_tools
+-do
+-  case $_am_tool in
+-  gnutar)
+-    for _am_tar in tar gnutar gtar;
+-    do
+-      { echo &quot;$as_me:$LINENO: $_am_tar --version&quot; &gt;&amp;5
++
++# The POSIX 1988 'ustar' format is defined with fixed-size fields.
++      # There is notably a 21 bits limit for the UID and the GID.  In fact,
++      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
++      # and bug#13588).
++      am_max_uid=2097151 # 2^21 - 1
++      am_max_gid=$am_max_uid
++      # The $UID and $GID variables are not portable, so we need to resort
++      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
++      # below are definitely unexpected, so allow the users to see them
++      # (that is, avoid stderr redirection).
++      am_uid=`id -u || echo unknown`
++      am_gid=`id -g || echo unknown`
++      { $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format&quot; &gt;&amp;5
++$as_echo_n &quot;checking whether UID '$am_uid' is supported by ustar format... &quot; &gt;&amp;6; }
++      if test $am_uid -le $am_max_uid; then
++         { $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: yes&quot; &gt;&amp;5
++$as_echo &quot;yes&quot; &gt;&amp;6; }
++      else
++         { $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: no&quot; &gt;&amp;5
++$as_echo &quot;no&quot; &gt;&amp;6; }
++         _am_tools=none
++      fi
++      { $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format&quot; &gt;&amp;5
++$as_echo_n &quot;checking whether GID '$am_gid' is supported by ustar format... &quot; &gt;&amp;6; }
++      if test $am_gid -le $am_max_gid; then
++         { $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: yes&quot; &gt;&amp;5
++$as_echo &quot;yes&quot; &gt;&amp;6; }
++      else
++        { $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: no&quot; &gt;&amp;5
++$as_echo &quot;no&quot; &gt;&amp;6; }
++        _am_tools=none
++      fi
++
++  { $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive&quot; &gt;&amp;5
++$as_echo_n &quot;checking how to create a ustar tar archive... &quot; &gt;&amp;6; }
++
++  # Go ahead even if we have the value already cached.  We do so because we
++  # need to set the values for the 'am__tar' and 'am__untar' variables.
++  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
++
++  for _am_tool in $_am_tools; do
++    case $_am_tool in
++    gnutar)
++      for _am_tar in tar gnutar gtar; do
++        { echo &quot;$as_me:$LINENO: $_am_tar --version&quot; &gt;&amp;5
+    ($_am_tar --version) &gt;&amp;5 2&gt;&amp;5
+    ac_status=$?
+    echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
+    (exit $ac_status); } &amp;&amp; break
+-    done
+-    am__tar=&quot;$_am_tar --format=ustar -chf - &quot;'&quot;$$tardir&quot;'
+-    am__tar_=&quot;$_am_tar --format=ustar -chf - &quot;'&quot;$tardir&quot;'
+-    am__untar=&quot;$_am_tar -xf -&quot;
+-    ;;
+-  plaintar)
+-    # Must skip GNU tar: if it does not support --format= it doesn't create
+-    # ustar tarball either.
+-    (tar --version) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; continue
+-    am__tar='tar chf - &quot;$$tardir&quot;'
+-    am__tar_='tar chf - &quot;$tardir&quot;'
+-    am__untar='tar xf -'
+-    ;;
+-  pax)
+-    am__tar='pax -L -x ustar -w &quot;$$tardir&quot;'
+-    am__tar_='pax -L -x ustar -w &quot;$tardir&quot;'
+-    am__untar='pax -r'
+-    ;;
+-  cpio)
+-    am__tar='find &quot;$$tardir&quot; -print | cpio -o -H ustar -L'
+-    am__tar_='find &quot;$tardir&quot; -print | cpio -o -H ustar -L'
+-    am__untar='cpio -i -H ustar -d'
+-    ;;
+-  none)
+-    am__tar=false
+-    am__tar_=false
+-    am__untar=false
+-    ;;
+-  esac
+-
+-  # If the value was cached, stop now.  We just wanted to have am__tar
+-  # and am__untar set.
+-  test -n &quot;${am_cv_prog_tar_ustar}&quot; &amp;&amp; break
++      done
++      am__tar=&quot;$_am_tar --format=ustar -chf - &quot;'&quot;$$tardir&quot;'
++      am__tar_=&quot;$_am_tar --format=ustar -chf - &quot;'&quot;$tardir&quot;'
++      am__untar=&quot;$_am_tar -xf -&quot;
++      ;;
++    plaintar)
++      # Must skip GNU tar: if it does not support --format= it doesn't create
++      # ustar tarball either.
++      (tar --version) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; continue
++      am__tar='tar chf - &quot;$$tardir&quot;'
++      am__tar_='tar chf - &quot;$tardir&quot;'
++      am__untar='tar xf -'
++      ;;
++    pax)
++      am__tar='pax -L -x ustar -w &quot;$$tardir&quot;'
++      am__tar_='pax -L -x ustar -w &quot;$tardir&quot;'
++      am__untar='pax -r'
++      ;;
++    cpio)
++      am__tar='find &quot;$$tardir&quot; -print | cpio -o -H ustar -L'
++      am__tar_='find &quot;$tardir&quot; -print | cpio -o -H ustar -L'
++      am__untar='cpio -i -H ustar -d'
++      ;;
++    none)
++      am__tar=false
++      am__tar_=false
++      am__untar=false
++      ;;
++    esac

+-  # tar/untar a dummy directory, and stop if the command works
+-  rm -rf conftest.dir
+-  mkdir conftest.dir
+-  echo GrepMe &gt; conftest.dir/file
+-  { echo &quot;$as_me:$LINENO: tardir=conftest.dir &amp;&amp; eval $am__tar_ &gt;conftest.tar&quot; &gt;&amp;5
++    # If the value was cached, stop now.  We just wanted to have am__tar
++    # and am__untar set.
++    test -n &quot;${am_cv_prog_tar_ustar}&quot; &amp;&amp; break
++
++    # tar/untar a dummy directory, and stop if the command works.
++    rm -rf conftest.dir
++    mkdir conftest.dir
++    echo GrepMe &gt; conftest.dir/file
++    { echo &quot;$as_me:$LINENO: tardir=conftest.dir &amp;&amp; eval $am__tar_ &gt;conftest.tar&quot; &gt;&amp;5
+    (tardir=conftest.dir &amp;&amp; eval $am__tar_ &gt;conftest.tar) &gt;&amp;5 2&gt;&amp;5
+    ac_status=$?
+    echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
+    (exit $ac_status); }
+-  rm -rf conftest.dir
+-  if test -s conftest.tar; then
+-    { echo &quot;$as_me:$LINENO: $am__untar &lt;conftest.tar&quot; &gt;&amp;5
++    rm -rf conftest.dir
++    if test -s conftest.tar; then
++      { echo &quot;$as_me:$LINENO: $am__untar &lt;conftest.tar&quot; &gt;&amp;5
+    ($am__untar &lt;conftest.tar) &gt;&amp;5 2&gt;&amp;5
+    ac_status=$?
+    echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
+    (exit $ac_status); }
+-    grep GrepMe conftest.dir/file &gt;/dev/null 2&gt;&amp;1 &amp;&amp; break
+-  fi
+-done
+-rm -rf conftest.dir
++      { echo &quot;$as_me:$LINENO: cat conftest.dir/file&quot; &gt;&amp;5
++   (cat conftest.dir/file) &gt;&amp;5 2&gt;&amp;5
++   ac_status=$?
++   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
++   (exit $ac_status); }
++      grep GrepMe conftest.dir/file &gt;/dev/null 2&gt;&amp;1 &amp;&amp; break
++    fi
++  done
++  rm -rf conftest.dir

+-if ${am_cv_prog_tar_ustar+:} false; then :
++  if ${am_cv_prog_tar_ustar+:} false; then :
+   $as_echo_n &quot;(cached) &quot; &gt;&amp;6
+ else
+   am_cv_prog_tar_ustar=$_am_tool
+ fi

+-{ $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar&quot; &gt;&amp;5
++  { $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar&quot; &gt;&amp;5
+ $as_echo &quot;$am_cv_prog_tar_ustar&quot; &gt;&amp;6; }





++
++# POSIX will say in a future version that running &quot;rm -f&quot; with no argument
++# is OK; and we want to be able to make that assumption in our Makefile
++# recipes.  So use an aggressive probe to check that the usage we want is
++# actually supported &quot;in the wild&quot; to an acceptable degree.
++# See automake bug#10828.
++# To make any issue more visible, cause the running configure to be aborted
++# by default if the 'rm' program in use doesn't match our expectations; the
++# user can still override this though.
++if rm -f &amp;&amp; rm -fr &amp;&amp; rm -rf; then : OK; else
++  cat &gt;&amp;2 &lt;&lt;'END'
++Oops!
++
++Your 'rm' program seems unable to run without file operands specified
++on the command line, even when the '-f' option is present.  This is contrary
++to the behaviour of most rm programs out there, and not conforming with
++the upcoming POSIX standard: &lt;http://austingroupbugs.net/view.php?id=542&gt;
++
++Please tell bug-automake@gnu.org about your system, including the value
++of your $PATH and any error possibly output before this message.  This
++can help us improve future automake versions.
++
++END
++  if test x&quot;$ACCEPT_INFERIOR_RM_PROGRAM&quot; = x&quot;yes&quot;; then
++    echo 'Configuration will proceed anyway, since you have set the' &gt;&amp;2
++    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to &quot;yes&quot;' &gt;&amp;2
++    echo &gt;&amp;2
++  else
++    cat &gt;&amp;2 &lt;&lt;'END'
++Aborting the configuration process, to ensure you take notice of the issue.
++
++You can download and install GNU coreutils to get an 'rm' implementation
++that behaves properly: &lt;http://www.gnu.org/software/coreutils/&gt;.
++
++If you want to complete the configuration process using your problematic
++'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
++to &quot;yes&quot;, and re-run configure.
++
++END
++    as_fn_error $? &quot;Your 'rm' program is bad, sorry.&quot; &quot;$LINENO&quot; 5
++  fi
++fi
+ ac_config_headers=&quot;$ac_config_headers config.h&quot;


+@@ -4243,6 +4370,65 @@
+ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS &gt;&amp;5'
+ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext &gt;&amp;5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS &gt;&amp;5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++{ $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together&quot; &gt;&amp;5
++$as_echo_n &quot;checking whether $CC understands -c and -o together... &quot; &gt;&amp;6; }
++if ${am_cv_prog_cc_c_o+:} false; then :
++  $as_echo_n &quot;(cached) &quot; &gt;&amp;6
++else
++  cat confdefs.h - &lt;&lt;_ACEOF &gt;conftest.$ac_ext
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++  # Make sure it works both with $CC and with simple cc.
++  # Following AC_PROG_CC_C_O, we do the test twice because some
++  # compilers refuse to overwrite an existing .o file with -o,
++  # though they will create one.
++  am_cv_prog_cc_c_o=yes
++  for am_i in 1 2; do
++    if { echo &quot;$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext&quot; &gt;&amp;5
++   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) &gt;&amp;5 2&gt;&amp;5
++   ac_status=$?
++   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
++   (exit $ac_status); } \
++         &amp;&amp; test -f conftest2.$ac_objext; then
++      : OK
++    else
++      am_cv_prog_cc_c_o=no
++      break
++    fi
++  done
++  rm -f core conftest*
++  unset am_i
++fi
++{ $as_echo &quot;$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o&quot; &gt;&amp;5
++$as_echo &quot;$am_cv_prog_cc_c_o&quot; &gt;&amp;6; }
++if test &quot;$am_cv_prog_cc_c_o&quot; != yes; then
++   # Losing compiler, so override with the script.
++   # FIXME: It is wrong to rewrite CC.
++   # But if we don't then we get into trouble of one sort or another.
++   # A longer-term fix would be to have automake use am__CC in this case,
++   # and then we could set am__CC=&quot;\$(top_srcdir)/compile \$(CC)&quot;
++   CC=&quot;$am_aux_dir/compile $CC&quot;
++fi
++ac_ext=cpp
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext &gt;&amp;5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS &gt;&amp;5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
+ depcc=&quot;$CC&quot;   am_compiler_list=

+ { $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc&quot; &gt;&amp;5
+@@ -15864,10 +16050,18 @@
+        with_mysql_includes=$inc
+     elif test -f &quot;$inc/mysql/mysql.h&quot;; then
+        with_mysql_includes=$inc/mysql
++    elif test -f &quot;$inc/mariadb/mysql/mysql.h&quot;; then
++       with_mysql_includes=$inc/mariadb/mysql
++    elif test -f &quot;$inc/percona/mysql/mysql.h&quot;; then
++       with_mysql_includes=$inc/percona/mysql
+     else
+        mid=`ls -rdt $a/include/mysql* 2&gt;/dev/null | tail -1`
+        if test -n &quot;$mid&quot; -a -f &quot;$mid/mysql/mysql.h&quot;; then
+           with_mysql_includes=&quot;$mid/mysql&quot;
++       elif test -n &quot;$mid&quot; -a -f &quot;$mid/mariadb/mysql/mysql.h&quot;; then
++          with_mysql_includes=&quot;$mid/mariadb/mysql&quot;
++       elif test -n &quot;$mid&quot; -a -f &quot;$mid/percona/mysql/mysql.h&quot;; then
++          with_mysql_includes=&quot;$mid/percona/mysql&quot;
+        fi
+     fi

+@@ -15880,6 +16074,10 @@
+        with_mysql_libs=$lib
+     elif test -f &quot;$lib/mysql/libmysqlclient_r.${SHLIB_SUFFIX}&quot;; then
+        with_mysql_libs=$lib/mysql
++    elif test -f &quot;$lib/mariadb/mysql/libmysqlclient_r.${SHLIB_SUFFIX}&quot;; then
++       with_mysql_libs=$lib/mariadb/mysql
++    elif test -f &quot;$lib/percona/mysql/libmysqlclient_r.${SHLIB_SUFFIX}&quot;; then
++       with_mysql_libs=$lib/percona/mysql
+     elif test -f &quot;$lib/libmysqlclient_r.a&quot;; then
+        with_mysql_libs=$lib
+        mysql_static=1
+@@ -15894,6 +16092,10 @@
+        if test -n &quot;$mld&quot;; then
+           if test -f &quot;$mld/mysql/libmysqlclient_r.${SHLIB_SUFFIX}&quot;; then
+              with_mysql_libs=&quot;$mld/mysql&quot;
++          elif test -f &quot;$mld/mariadb/mysql/libmysqlclient_r.${SHLIB_SUFFIX}&quot;; then
++             with_mysql_libs=&quot;$mld/mariadb/mysql&quot;
++          elif test -f &quot;$mld/percona/mysql/libmysqlclient_r.${SHLIB_SUFFIX}&quot;; then
++             with_mysql_libs=&quot;$mld/percona/mysql&quot;
+           elif test -f &quot;$mld/mysql/libmysqlclient_r.a&quot;; then
+              with_mysql_libs=&quot;$mld/mysql&quot;
+              mysql_static=1
+@@ -16680,13 +16882,9 @@
+     fi
+ fi

+-# turn on some build flags for non-debugging, non-profiling builds
+-if test &quot;$enable_debug&quot; = &quot;no&quot; -a &quot;$enable_profile&quot; = &quot;no&quot;; then
+-    # strip binaries and libraries on darwin with -x
+-    if test &quot;`echo $host_os|cut -b-6`&quot; = &quot;darwin&quot;; then
+-       LDFLAGS=&quot;$LDFLAGS -Wl,-x&quot;
+-    fi
+-fi
++#if test &quot;$enable_debug&quot; = &quot;no&quot; -a &quot;$enable_profile&quot; = &quot;no&quot; -a &quot;$enable_optimization&quot; = &quot;yes&quot; ; then
++    # we can no longer strip binaries and libraries with non-debugging, non-profiling builds on Darwin with -Wl,-x because it breaks linking :(
++#fi

+ # turn on warnings if we know how
+ if test &quot;$GXX&quot; = &quot;yes&quot;; then
+@@ -17333,7 +17531,7 @@
+ # report actual input values of CONFIG_FILES etc. instead of their
+ # values after options handling.
+ ac_log=&quot;
+-This file was extended by qore-mysql-module $as_me 2.0.1, which was
++This file was extended by qore-mysql-module $as_me 2.0.2, which was
+ generated by GNU Autoconf 2.69.  Invocation command line was

+   CONFIG_FILES    = $CONFIG_FILES
+@@ -17399,7 +17597,7 @@
+ cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF || ac_write_fail=1
+ ac_cs_config=&quot;`$as_echo &quot;$ac_configure_args&quot; | sed 's/^ //; s/[\\&quot;&quot;\`\$]/\\\\&amp;/g'`&quot;
+ ac_cs_version=&quot;\\
+-qore-mysql-module config.status 2.0.1
++qore-mysql-module config.status 2.0.2
+ configured by $0, generated by GNU Autoconf 2.69,
+   with options \\&quot;\$ac_cs_config\\&quot;

+@@ -18504,7 +18702,7 @@

+   case $ac_file$ac_mode in
+     &quot;depfiles&quot;:C) test x&quot;$AMDEP_TRUE&quot; != x&quot;&quot; || {
+-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
++  # Older Autoconf quotes --file arguments for eval, but not when files
+   # are listed without --file.  Let's play safe and only enable the eval
+   # if we detect the quoting.
+   case $CONFIG_FILES in
+@@ -18555,7 +18753,7 @@
+     DEPDIR=`sed -n 's/^DEPDIR = //p' &lt; &quot;$mf&quot;`
+     test -z &quot;$DEPDIR&quot; &amp;&amp; continue
+     am__include=`sed -n 's/^am__include = //p' &lt; &quot;$mf&quot;`
+-    test -z &quot;am__include&quot; &amp;&amp; continue
++    test -z &quot;$am__include&quot; &amp;&amp; continue
+     am__quote=`sed -n 's/^am__quote = //p' &lt; &quot;$mf&quot;`
+     # Find all dependency output files, they are included files with
+     # $(DEPDIR) in their names.  We invoke sed twice because it is the
</ins></span></pre>
</div>
</div>

</body>
</html>