MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:kent Date:April 5 2006 10:45pm
Subject:bk commit into 4.1 tree (kent:1.2496) BUG#16478
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of kent. When kent does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2496 06/04/06 00:43:58 kent@stripped +1 -0
  configure.in:
    Check for crypt() in libc first (bug#16478)

  configure.in
    1.405 06/04/06 00:39:50 kent@stripped +2 -3
    Check for crypt() in libc first (bug#16478)

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	kent
# Host:	c-534072d5.010-2112-6f72651.cust.bredbandsbolaget.se
# Root:	/Users/kent/mysql/bk/mysql-4.1-new

--- 1.404/configure.in	2006-01-27 12:09:14 +01:00
+++ 1.405/configure.in	2006-04-06 00:39:50 +02:00
@@ -827,9 +827,8 @@
 AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
 # This may get things to compile even if bind-8 is installed
 AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
-# For crypt() on Linux
-AC_CHECK_LIB(crypt, crypt)
-AC_CHECK_FUNC(crypt, AC_DEFINE([HAVE_CRYPT], [1], [crypt])) 
+# Check if crypt() exists in libc or libcrypt, sets LIBS if needed
+AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
 
 # For sem_xxx functions on Solaris 2.6
 AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(posix4, sem_init))
Thread
bk commit into 4.1 tree (kent:1.2496) BUG#16478kent6 Apr