# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../fragroute/lib64-configure-fix.diff
# 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-09-03 05:36:02.000000000 +0300
+++ ./configure	2006-09-03 05:51:07.000000000 +0300
@@ -1651,11 +1651,11 @@
      ;;
   *)
      echo "$ac_t""$withval" 1>&6
-     if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
+     if test -f $withval/include/event.h -a -f $withval/lib64/libevent.a ; then
         owd=`pwd`
         if cd $withval; then withval=`pwd`; cd $owd; fi
 	EVENTINC="-I$withval/include"
-	EVENTLIB="-L$withval/lib -levent"
+	EVENTLIB="-L$withval/lib64 -levent"
      elif test -f $withval/event.h -a -f $withval/libevent.a; then
         owd=`pwd`
         if cd $withval; then withval=`pwd`; cd $owd; fi
@@ -1667,9 +1667,9 @@
      ;;
   esac 
 else
-   if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.a; then
+   if test -f ${prefix}/include/event.h -a -f ${prefix}/lib64/libevent.a; then
      EVENTINC="-I${prefix}/include"
-     EVENTLIB="-L${prefix}/lib -levent"
+     EVENTLIB="-L${prefix}/lib64 -levent"
   else
      echo "$ac_t""no" 1>&6
      { echo "configure: error: libevent not found" 1>&2; exit 1; }