~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to src/modules/rlm_sql/drivers/rlm_sql_mysql/configure

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20091123035737-zsgtzhfych8hir68
Tags: 2.1.7+dfsg-1
* Adopting the package, closes: #536623.
* New upstream version, closes: #513484.
  + Fixes the blooper in unlang evaluation logic, closes: #526175.
* Used quilt (and added README.source), and moved upstream file patching
  into debian/patches/. The source is no longer in collab-maint git
  (to make it simpler for me to finally get this out the door), but
  kept the .gitignore should we need that again.
* Dropped the dialup_admin/bin/backup_radacct patch (integrated upstream).
* Dropped the raddb/Makefile patch (problem no longer exists upstream).
* Dropped the lib/packet.c lib/radius.c main/listen.c patches (was from
  upstream 2.0.5 anyway).
* Dropped references to otp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Dropped references to snmp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Ship /etc/freeradius/modules/* in the freeradius package.
* Stop shipping sites-enabled symlinks in the package and instead create
  them only on initial install, thanks to Matej Vela, closes: #533396.
* Add export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" to the init script
  at the request of John Morrissey, closes: #550143.
* Stop installing /var/run/freeradius in the package to silence Lintian.
  The init script already recreates it at will.
* Remove executable bit from example.pl to silence Lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3447
3447
        mysql_cflags="$(mysql_config --cflags)"
3448
3448
        old_CFLAGS="$CFLAGS"
3449
3449
        CFLAGS="$CFLAGS $mysql_cflags"
3450
 
        { echo "$as_me:$LINENO: checking for mysql.h (using mysql_config)" >&5
3451
 
echo $ECHO_N "checking for mysql.h (using mysql_config)... $ECHO_C" >&6; }
 
3450
        { echo "$as_me:$LINENO: checking for mysql.h (using mysql_config --cflags)" >&5
 
3451
echo $ECHO_N "checking for mysql.h (using mysql_config --cflags)... $ECHO_C" >&6; }
3452
3452
        cat >conftest.$ac_ext <<_ACEOF
3453
3453
/* confdefs.h.  */
3454
3454
_ACEOF
3502
3502
        else
3503
3503
            { echo "$as_me:$LINENO: result: no" >&5
3504
3504
echo "${ECHO_T}no" >&6; }
3505
 
        fi
 
3505
 
 
3506
            mysql_cflags="$(mysql_config --include)"
 
3507
            CFLAGS="$old_CFLAGS $mysql_cflags"
 
3508
            { echo "$as_me:$LINENO: checking for mysql.h (using mysql_config --include)" >&5
 
3509
echo $ECHO_N "checking for mysql.h (using mysql_config --include)... $ECHO_C" >&6; }
 
3510
            cat >conftest.$ac_ext <<_ACEOF
 
3511
/* confdefs.h.  */
 
3512
_ACEOF
 
3513
cat confdefs.h >>conftest.$ac_ext
 
3514
cat >>conftest.$ac_ext <<_ACEOF
 
3515
/* end confdefs.h.  */
 
3516
#include <mysql.h>
 
3517
int
 
3518
main ()
 
3519
{
 
3520
int a = 1;
 
3521
  ;
 
3522
  return 0;
 
3523
}
 
3524
_ACEOF
 
3525
rm -f conftest.$ac_objext
 
3526
if { (ac_try="$ac_compile"
 
3527
case "(($ac_try" in
 
3528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3529
  *) ac_try_echo=$ac_try;;
 
3530
esac
 
3531
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3532
  (eval "$ac_compile") 2>conftest.er1
 
3533
  ac_status=$?
 
3534
  grep -v '^ *+' conftest.er1 >conftest.err
 
3535
  rm -f conftest.er1
 
3536
  cat conftest.err >&5
 
3537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3538
  (exit $ac_status); } && {
 
3539
         test -z "$ac_c_werror_flag" ||
 
3540
         test ! -s conftest.err
 
3541
       } && test -s conftest.$ac_objext; then
 
3542
  have_mysql_h=yes
 
3543
else
 
3544
  echo "$as_me: failed program was:" >&5
 
3545
sed 's/^/| /' conftest.$ac_ext >&5
 
3546
 
 
3547
 
 
3548
fi
 
3549
 
 
3550
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3551
            if test "x$have_mysql_h" = "xyes"; then
 
3552
                { echo "$as_me:$LINENO: result: yes" >&5
 
3553
echo "${ECHO_T}yes" >&6; }
 
3554
 
 
3555
cat >>confdefs.h <<\_ACEOF
 
3556
#define HAVE_MYSQL_H
 
3557
_ACEOF
 
3558
 
 
3559
                SMART_CFLAGS="$SMART_CFLAGS $mysql_cflags"
 
3560
            else
 
3561
                { echo "$as_me:$LINENO: result: no" >&5
 
3562
echo "${ECHO_T}no" >&6; }
 
3563
            fi
 
3564
        fi
 
3565
 
3506
3566
        CFLAGS="$old_CFLAGS"
3507
3567
    fi
3508
3568
    if test "x$have_mysql_h" != "xyes"; then