Index: trunk/psconfig/psconfig.sh
===================================================================
--- trunk/psconfig/psconfig.sh	(revision 11942)
+++ trunk/psconfig/psconfig.sh	(revision 12133)
@@ -3,11 +3,19 @@
 
 # list the defined psconfig versions
+set show_prefix = 0
+set show_libs = 0
+set show_bin = 0
+set show_arch = 0
+set show_path = 0
 set show_configure = 0
 set show_autogen = 0
 set show_perlbuild = 0
+set show_perdldir = 0
 set show_perl5lib = 0
-set show_prefix = 0
-set show_libs = 0
-set show_bin = 0
+set show_psversion = 0
+set show_psconfdir = 0
+set show_ld_library_path = 0
+set show_pkg_config_path = 0
+set show_aclocal_flags = 0
 set args = ""
 while ($#argv) 
@@ -36,6 +44,30 @@
       set show_perlbuild = 1
       breaksw;
+    case --perldir:
+      set show_perldir = 1
+      breaksw;
     case --perl5lib:
       set show_perl5lib = 1
+      breaksw;
+    case --psversion
+      set show_psversion = 1
+      breaksw;
+    case --psconfdir
+      set show_psconfdir = 1
+      breaksw;
+    case --ld_library_path
+      set show_ld_library_path = 1
+      breaksw;
+    case --pkg_config_path
+      set show_pkg_config_path = 1
+      breaksw;
+    case --arch
+      set show_arch = 1
+      breaksw;
+    case --path
+      set show_path = 1
+      breaksw;
+    case --aclocal_flags
+      set show_aclocal_flags = 1
       breaksw;
     case -*:
@@ -293,8 +325,50 @@
 endif
 
+if ($show_perldir) then
+  echo $plibdir
+  exit 0
+endif
+
 if ($show_perl5lib) then
-  echo $plibdir
-  exit 0
-endif
+  echo $PERL5LIB
+  exit 0
+endif
+
+if ($show_psversion) then
+  echo $PSVERSION
+  exit 0
+endif
+
+if ($show_psconfdir) then
+  echo $PSCONFDIR
+  exit 0
+endif
+
+if ($show_ld_library_path) then
+  echo $LD_LIBRARY_PATH
+  exit 0
+endif
+
+if ($show_pkg_config_path) then
+  echo $PKG_CONFIG_PATH
+  exit 0
+endif
+
+if ($show_arch) then
+  echo $ARCH
+  exit 0
+endif
+
+if ($show_path) then
+  echo $PATH
+  exit 0
+endif
+
+if ($show_aclocal_flags) then
+  echo $ACLOCAL_FLAGS
+  exit 0
+endif
+
+
 
 exit 0
