diff -r -u filebench-1.64-orig/configure filebench-1.64/configure
--- filebench-1.64-orig/configure	2005-07-11 19:14:00.000000000 -0400
+++ filebench-1.64/configure	2005-11-29 14:20:18.049883658 -0500
@@ -12310,7 +12310,7 @@
  *solaris*)
 	FARCH=`isainfo -n`
         BUILD=../solaris/build/${FARCH}
-	GSLINC="../solaris/gsl-1.4"
+	GSLINC="-I../solaris/gsl-1.4"
 	GSLLIB="../solaris/gsl-1.4/${FARCH}"
 	GSLCBLAS="../solaris/gsl-1.4/${FARCH}"
     ;;
@@ -12325,11 +12325,15 @@
   withval="$with_gsl"
   if test "$withval" != no && test "$withval" != yes; then
     if test -d "$withval"; then
-      GSLINC="$withval"
+      GSLINC="-I$withval"
       GSLLIB="$withval/.libs"
       GSLCBLAS="$withval/cblas/.libs"
     fi
   fi
+else
+  GSLINC=""
+   GSLLIB="/usr/lib"
+   GSLCBLAS="/usr/lib"
 fi;
 
 
diff -r -u filebench-1.64-orig/configure.in filebench-1.64/configure.in
--- filebench-1.64-orig/configure.in	2005-06-28 12:17:03.000000000 -0400
+++ filebench-1.64/configure.in	2005-11-29 14:20:07.773701248 -0500
@@ -287,7 +287,7 @@
  *solaris*)
 	FARCH=`isainfo -n`
         BUILD=../solaris/build/${FARCH}
-	GSLINC="../solaris/gsl-1.4"
+	GSLINC="-I../solaris/gsl-1.4"
 	GSLLIB="../solaris/gsl-1.4/${FARCH}"
 	GSLCBLAS="../solaris/gsl-1.4/${FARCH}"
     ;;
@@ -300,11 +300,14 @@
   [  --with-gsl=DIR      use gsl in DIR],
   [if test "$withval" != no && test "$withval" != yes; then
     if test -d "$withval"; then
-      GSLINC="$withval"
+      GSLINC="-I$withval"
       GSLLIB="$withval/.libs"
       GSLCBLAS="$withval/cblas/.libs"
     fi
-  fi])
+  fi],
+  [GSLINC=""
+   GSLLIB="/usr/lib"
+   GSLCBLAS="/usr/lib"])
 AC_SUBST(GSLINC)
 AC_SUBST(GSLLIB)
 AC_SUBST(GSLCBLAS)
