Index: trunk/psconfig/psconfig.sh
===================================================================
--- trunk/psconfig/psconfig.sh	(revision 11267)
+++ trunk/psconfig/psconfig.sh	(revision 11730)
@@ -31,4 +31,10 @@
 
 # list the defined psconfig versions
+if ("$argv[1]" == "--prefix") then
+  echo $PSCONFDIR/$PSVERSION.$ARCH
+  exit 0
+endif
+
+# list the defined psconfig versions
 if ("$argv[1]" == "--libs") then
   echo $PSCONFDIR/$PSVERSION.$ARCH/lib
@@ -40,4 +46,32 @@
   echo $PSCONFDIR/$PSVERSION.$ARCH/bin
   exit 0
+endif
+
+# list the defined psconfig versions
+set show_path = 0
+if ("$argv[1]" == "--path") then
+  set show_path = 1
+  shift
+endif
+
+# list the defined psconfig versions
+set show_ldpath = 0
+if ("$argv[1]" == "--ldpath") then
+  set show_ldpath = 1
+  shift
+endif
+
+# list the defined psconfig versions
+set show_pkgpath = 0
+if ("$argv[1]" == "--pkgpath") then
+  set show_pkgpath = 1
+  shift
+endif
+
+# list the defined psconfig versions
+set show_perlpath = 0
+if ("$argv[1]" == "--perlpath") then
+  set show_perlpath = 1
+  shift
 endif
 
@@ -245,2 +279,27 @@
   alias  psperlbuild perl Build.PL --prefix {$PSCONFDIR}/{$PSCONFIG} --install_path script=$bindir --install_path arch=$bindir --install_path bin=$bindir --install_path lib=$libdir --install_path bindoc={$PSCONFDIR}/man/man1 --install_path libdoc={$PSCONFDIR}/man/man3
 endif
+
+# list the defined psconfig versions
+if ($show_path) then
+  echo $PATH
+  exit 0
+endif
+
+# list the defined psconfig versions
+if ($show_ldpath) then
+  echo $LD_LIBRARY_PATH
+  exit 0
+endif
+
+# list the defined psconfig versions
+if ($show_pkgpath) then
+  echo $PKG_CONFIG_PATH
+  exit 0
+endif
+
+# list the defined psconfig versions
+if ($show_perlpath) then
+  echo $PERL5LIB
+  exit 0
+endif
+
