Index: trunk/psconfig/psconfig.csh.in
===================================================================
--- trunk/psconfig/psconfig.csh.in	(revision 28191)
+++ trunk/psconfig/psconfig.csh.in	(revision 31162)
@@ -22,4 +22,5 @@
 set show_pkg_config_path = 0
 set show_aclocal_flags = 0
+set use_fink = 0
 set args = ""
 while ($#argv) 
@@ -88,4 +89,7 @@
       set show_aclocal_flags = 1
       breaksw;
+    case --use-fink
+      set use_fink = 1
+      breaksw;
     case -*:
       echo "unknown option $1"
@@ -323,6 +327,8 @@
  case darwin:
  case darwin_x86:
-   set xtralibs = ( $xtralibs "/sw/lib" )
-   set xtrapath = ( $xtrapath "/sw/include" )
+   if ($use_fink) then
+     set xtralibs = ( $xtralibs "/sw/lib" )
+     set xtrapath = ( $xtrapath "/sw/include" )
+   endif
    breaksw;
 
@@ -550,4 +556,5 @@
   echo "       psconfig --cpath"
   echo "       psconfig --aclocal_flags"
+  echo "       psconfig --use-fink"
   echo
   echo "       psconfig --list    : list currently availabe configuration versions"
