# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../honeyd/lib64-configure-fix.patch
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---

--- ./configure.orig	2006-08-19 10:11:11.000000000 +0300
+++ ./configure	2006-09-03 02:35:53.000000000 +0300
@@ -24571,8 +24571,8 @@
 
         LIBS="$LIBDL $LIBS"
 
-        LIBCGUESS=`echo /lib/libc.so.*`
-    USRLIBCGUESS=`echo /usr/lib/libc.so*`
+        LIBCGUESS=`ls /lib{,64}/libc.so.* 2> /dev/null`
+    USRLIBCGUESS=`ls /usr/lib{,64}/libc.so* 2> /dev/null`
 
     if test "$USRLIBCGUESS" = "/usr/lib/libc.so.*"; then
        USRLIBCGUESS=""