Index: /trunk/psModules/Makefile.am
===================================================================
--- /trunk/psModules/Makefile.am	(revision 3622)
+++ /trunk/psModules/Makefile.am	(revision 3623)
@@ -2,2 +2,4 @@
 
 SUBDIRS = src test
+
+test: check
Index: /trunk/psModules/config.guess
===================================================================
--- /trunk/psModules/config.guess	(revision 3622)
+++ /trunk/psModules/config.guess	(revision 3623)
@@ -2,7 +2,7 @@
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
-
-timestamp='2003-06-17'
+#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+
+timestamp='2004-08-11'
 
 # This file is free software; you can redistribute it and/or modify it
@@ -54,5 +54,5 @@
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 Free Software Foundation, Inc.
 
@@ -137,10 +137,13 @@
 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 
-## for Red Hat Linux
-if test -f /etc/redhat-release ; then
-    VENDOR=redhat ;
-else
-    VENDOR= ;
-fi
+case "${UNAME_MACHINE}" in
+    i?86)
+	test -z "$VENDOR" && VENDOR=pc
+	;;
+    *)
+	test -z "$VENDOR" && VENDOR=unknown
+	;;
+esac
+test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse
 
 # Note: order is significant - the case branches are not exclusive.
@@ -205,4 +208,7 @@
 	echo "${machine}-${os}${release}"
 	exit 0 ;;
+    amd64:OpenBSD:*:*)
+	echo x86_64-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     amiga:OpenBSD:*:*)
 	echo m68k-unknown-openbsd${UNAME_RELEASE}
@@ -211,7 +217,13 @@
 	echo mipsel-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
+    cats:OpenBSD:*:*)
+	echo arm-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     hp300:OpenBSD:*:*)
 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
+    luna88k:OpenBSD:*:*)
+    	echo m88k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     mac68k:OpenBSD:*:*)
 	echo m68k-unknown-openbsd${UNAME_RELEASE}
@@ -244,8 +256,22 @@
 	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
+    *:ekkoBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+	exit 0 ;;
+    macppc:MirBSD:*:*)
+	echo powerppc-unknown-mirbsd${UNAME_RELEASE}
+	exit 0 ;;
+    *:MirBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+	exit 0 ;;
     alpha:OSF1:*:*)
-	if test $UNAME_RELEASE = "V4.0"; then
+	case $UNAME_RELEASE in
+	*4.0)
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
-	fi
+		;;
+	*5.*)
+	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		;;
+	esac
 	# According to Compaq, /usr/sbin/psrinfo has been available on
 	# OSF/1 and Tru64 systems produced since 1995.  I hope that
@@ -285,12 +311,10 @@
 		UNAME_MACHINE="alphaev79" ;;
 	esac
+	# A Pn.n version is a patched version.
 	# A Vn.n version is a released version.
 	# A Tn.n version is a released field test version.
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
-	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-	exit 0 ;;
-    Alpha*:OpenVMS:*:*)
-	echo alpha-hp-vms
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 	exit 0 ;;
     Alpha\ *:Windows_NT*:*)
@@ -314,4 +338,7 @@
     *:OS/390:*:*)
 	echo i370-ibm-openedition
+	exit 0 ;;
+    *:OS400:*:*)
+        echo powerpc-ibm-os400
 	exit 0 ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
@@ -407,4 +434,7 @@
         echo m68k-unknown-mint${UNAME_RELEASE}
         exit 0 ;;
+    m68k:machten:*:*)
+	echo m68k-apple-machten${UNAME_RELEASE}
+	exit 0 ;;
     powerpc:machten:*:*)
 	echo powerpc-apple-machten${UNAME_RELEASE}
@@ -742,5 +772,5 @@
 	exit 0 ;;
     *:UNICOS/mp:*:*)
-	echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
+	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit 0 ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
@@ -750,4 +780,9 @@
         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
         exit 0 ;;
+    5000:UNIX_System_V:4.*:*)
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit 0 ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -759,17 +794,6 @@
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 	exit 0 ;;
-    *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
-	# Determine whether the default compiler uses glibc.
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#include <features.h>
-	#if __GLIBC__ >= 2
-	LIBC=gnu
-	#else
-	LIBC=
-	#endif
-EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
+    *:FreeBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 	exit 0 ;;
     i*:CYGWIN*:*)
@@ -804,5 +828,10 @@
 	exit 0 ;;
     *:GNU:*:*)
+	# the GNU system
 	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+	exit 0 ;;
+    *:GNU/*:*:*)
+	# other systems with GNU libc and userland
+	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
 	exit 0 ;;
     i*86:Minix:*:*)
@@ -810,14 +839,17 @@
 	exit 0 ;;
     arm*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-${VENDOR}-linux
 	exit 0 ;;
     cris:Linux:*:*)
-	echo cris-axis-linux-gnu
+	echo cris-axis-linux
 	exit 0 ;;
     ia64:Linux:*:*)
-	echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
+	echo ${UNAME_MACHINE}-${VENDOR}-linux
+	exit 0 ;;
+    m32r*:Linux:*:*)
+	echo ${UNAME_MACHINE}-${VENDOR}-linux
 	exit 0 ;;
     m68*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-${VENDOR}-linux
 	exit 0 ;;
     mips:Linux:*:*)
@@ -838,5 +870,5 @@
 EOF
 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
-	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
+	test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0
 	;;
     mips64:Linux:*:*)
@@ -857,11 +889,11 @@
 EOF
 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
-	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
+	test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0
 	;;
     ppc:Linux:*:*)
-	echo powerpc-${VENDOR:-unknown}-linux-gnu
+	echo powerpc-${VENDOR}-linux
 	exit 0 ;;
     ppc64:Linux:*:*)
-	echo powerpc64-${VENDOR:-unknown}-linux-gnu
+	echo powerpc64-${VENDOR}-linux
 	exit 0 ;;
     alpha:Linux:*:*)
@@ -876,32 +908,32 @@
         esac
 	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
-	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
-	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+	if test "$?" = 0 ; then LIBC="-libc1" ; else LIBC="" ; fi
+	echo ${UNAME_MACHINE}-${VENDOR}-linux${LIBC}
 	exit 0 ;;
     parisc:Linux:*:* | hppa:Linux:*:*)
 	# Look for CPU level
 	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
-	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
-	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
-	  *)    echo hppa-unknown-linux-gnu ;;
+	  PA7*) echo hppa1.1-${VENDOR}-linux ;;
+	  PA8*) echo hppa2.0-${VENDOR}-linux ;;
+	  *)    echo hppa-${VENDOR}-linux ;;
 	esac
 	exit 0 ;;
     parisc64:Linux:*:* | hppa64:Linux:*:*)
-	echo hppa64-unknown-linux-gnu
+	echo hppa64-${VENDOR}-linux
 	exit 0 ;;
     s390:Linux:*:* | s390x:Linux:*:*)
-	echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu
+	echo ${UNAME_MACHINE}-ibm-linux
 	exit 0 ;;
     sh64*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+    	echo ${UNAME_MACHINE}-${VENDOR}-linux
 	exit 0 ;;
     sh*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-${VENDOR}-linux
 	exit 0 ;;
     sparc:Linux:*:* | sparc64:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-${VENDOR}-linux
 	exit 0 ;;
     x86_64:Linux:*:*)
-	echo x86_64-${VENDOR:-unknown}-linux-gnu
+	echo x86_64-${VENDOR}-linux
 	exit 0 ;;
     i*86:Linux:*:*)
@@ -918,16 +950,16 @@
         case "$ld_supported_targets" in
 	  elf32-i386)
-		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+		TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux"
 		;;
 	  a.out-i386-linux)
-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+		echo "${UNAME_MACHINE}-${VENDOR}-linuxaout"
 		exit 0 ;;
 	  coff-i386)
-		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+		echo "${UNAME_MACHINE}-${VENDOR}-linuxcoff"
 		exit 0 ;;
 	  "")
-		# Either a pre-BFD a.out linker (linux-gnuoldld) or
+		# Either a pre-BFD a.out linker (linuxoldld) or
 		# one that does not give us useful --help.
-		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
+		echo "${UNAME_MACHINE}-${VENDOR}-linuxoldld"
 		exit 0 ;;
 	esac
@@ -953,7 +985,10 @@
 	#endif
 	#endif
+	#ifdef __dietlibc__
+	LIBC=dietlibc
+	#endif
 EOF
 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0
+	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}" | sed 's/linux-gnu/linux/' && exit 0
 	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
 	;;
@@ -982,4 +1017,7 @@
     i*86:atheos:*:*)
 	echo ${UNAME_MACHINE}-unknown-atheos
+	exit 0 ;;
+	i*86:syllable:*:*)
+	echo ${UNAME_MACHINE}-pc-syllable
 	exit 0 ;;
     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
@@ -1052,7 +1090,7 @@
 	echo m68k-diab-dnix
 	exit 0 ;;
-    M68*:*:R3V[567]*:*)
+    M68*:*:R3V[5678]*:*)
 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
-    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 	OS_REL=''
 	test -r /etc/.relid \
@@ -1152,7 +1190,8 @@
 	exit 0 ;;
     *:Darwin:*:*)
-	case `uname -p` in
+	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+	case $UNAME_PROCESSOR in
 	    *86) UNAME_PROCESSOR=i686 ;;
-	    powerpc) UNAME_PROCESSOR=powerpc ;;
+	    unknown) UNAME_PROCESSOR=powerpc ;;
 	esac
 	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
@@ -1169,5 +1208,5 @@
 	echo i386-pc-qnx
 	exit 0 ;;
-    NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
+    NSR-?:NONSTOP_KERNEL:*:*)
 	echo nsr-tandem-nsk${UNAME_RELEASE}
 	exit 0 ;;
@@ -1213,4 +1252,14 @@
         echo mips-sei-seiux${UNAME_RELEASE}
 	exit 0 ;;
+    *:DragonFly:*:*)
+	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+	exit 0 ;;
+    *:*VMS:*:*)
+    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	case "${UNAME_MACHINE}" in
+	    A*) echo alpha-dec-vms && exit 0 ;;
+	    I*) echo ia64-dec-vms && exit 0 ;;
+	    V*) echo vax-dec-vms && exit 0 ;;
+	esac
 esac
 
Index: /trunk/psModules/config.sub
===================================================================
--- /trunk/psModules/config.sub	(revision 3622)
+++ /trunk/psModules/config.sub	(revision 3623)
@@ -2,7 +2,7 @@
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
-
-timestamp='2003-06-18'
+#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+
+timestamp='2004-06-24'
 
 # This file is (in principle) common to ALL GNU software.
@@ -71,5 +71,5 @@
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 Free Software Foundation, Inc.
 
@@ -119,5 +119,6 @@
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
+  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
+  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
@@ -145,5 +146,5 @@
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-	-apple | -axis)
+	-apple | -axis | -knuth | -cray)
 		os=
 		basic_machine=$1
@@ -229,4 +230,5 @@
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+	| am33_2.0 \
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 	| c4x | clipper \
@@ -235,6 +237,6 @@
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 	| i370 | i860 | i960 | ia64 \
-	| ip2k \
-	| m32r | m68000 | m68k | m88k | mcore \
+	| ip2k | iq2000 \
+	| m32r | m32rle | m68000 | m68k | m88k | mcore \
 	| mips | mipsbe | mipseb | mipsel | mipsle \
 	| mips16 \
@@ -248,4 +250,5 @@
 	| mipsisa32r2 | mipsisa32r2el \
 	| mipsisa64 | mipsisa64el \
+	| mipsisa64r2 | mipsisa64r2el \
 	| mipsisa64sb1 | mipsisa64sb1el \
 	| mipsisa64sr71k | mipsisa64sr71kel \
@@ -258,8 +261,7 @@
 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 	| pyramid \
-	| s390 | s390x \
 	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 	| sh64 | sh64le \
-	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
+	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
 	| strongarm \
 	| tahoe | thumb | tic4x | tic80 | tron \
@@ -299,5 +301,5 @@
 	| bs2000-* \
 	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
-	| clipper-* | cydra-* \
+	| clipper-* | craynv-* | cydra-* \
 	| d10v-* | d30v-* | dlx-* \
 	| elxsi-* \
@@ -306,6 +308,6 @@
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 	| i*86-* | i860-* | i960-* | ia64-* \
-	| ip2k-* \
-	| m32r-* \
+	| ip2k-* | iq2000-* \
+	| m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 	| m88110-* | m88k-* | mcore-* \
@@ -321,9 +323,11 @@
 	| mipsisa32r2-* | mipsisa32r2el-* \
 	| mipsisa64-* | mipsisa64el-* \
+	| mipsisa64r2-* | mipsisa64r2el-* \
 	| mipsisa64sb1-* | mipsisa64sb1el-* \
 	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
 	| mipstx39-* | mipstx39el-* \
+	| mmix-* \
 	| msp430-* \
-	| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
+	| none-* | np1-* | ns16k-* | ns32k-* \
 	| orion-* \
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
@@ -331,9 +335,8 @@
 	| pyramid-* \
 	| romp-* | rs6000-* \
-	| s390-* | s390x-* \
 	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 	| tahoe-* | thumb-* \
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
@@ -362,4 +365,7 @@
 		os=-udi
 		;;
+    	abacus)
+		basic_machine=abacus-unknown
+		;;
 	adobe68k)
 		basic_machine=m68010-adobe
@@ -379,4 +385,7 @@
 		basic_machine=x86_64-pc
 		;;
+	amd64-*)
+		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	amdahl)
 		basic_machine=580-amdahl
@@ -438,4 +447,12 @@
 		os=-unicos
 		;;
+	craynv)
+		basic_machine=craynv-cray
+		os=-unicosmp
+		;;
+	cr16c)
+		basic_machine=cr16c-unknown
+		os=-elf
+		;;
 	crds | unos)
 		basic_machine=m68k-crds
@@ -443,4 +460,8 @@
 	cris | cris-* | etrax*)
 		basic_machine=cris-axis
+		;;
+	crx)
+		basic_machine=crx-unknown
+		os=-elf
 		;;
 	da30 | da30-*)
@@ -643,8 +664,4 @@
 	mips3*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
-		;;
-	mmix*)
-		basic_machine=mmix-knuth
-		os=-mmixware
 		;;
 	monitor)
@@ -728,8 +745,4 @@
 		basic_machine=np1-gould
 		;;
-	nv1)
-		basic_machine=nv1-cray
-		os=-unicosmp
-		;;
 	nsr-tandem)
 		basic_machine=nsr-tandem
@@ -743,4 +756,8 @@
 		os=-coff
 		;;
+	os400)
+		basic_machine=powerpc-ibm
+		os=-os400
+		;;
 	OSE68000 | ose68000)
 		basic_machine=m68000-ericsson
@@ -834,4 +851,10 @@
 		basic_machine=romp-ibm
 		;;
+	s390 | s390-*)
+		basic_machine=s390-ibm
+		;;
+	s390x | s390x-*)
+		basic_machine=s390x-ibm
+		;;
 	sa29200)
 		basic_machine=a29k-amd
@@ -956,4 +979,8 @@
 	tower | tower-32)
 		basic_machine=m68k-ncr
+		;;
+	tpf)
+		basic_machine=s390x-ibm
+		os=-tpf
 		;;
 	udi29k)
@@ -1030,4 +1057,7 @@
 		basic_machine=romp-ibm
 		;;
+	mmix)
+		basic_machine=mmix-knuth
+		;;
 	rs6000)
 		basic_machine=rs6000-ibm
@@ -1052,5 +1082,5 @@
 		basic_machine=sh64-unknown
 		;;
-	sparc | sparcv9 | sparcv9b)
+	sparc | sparcv8 | sparcv9 | sparcv9b)
 		basic_machine=sparc-sun
 		;;
@@ -1125,11 +1155,12 @@
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
-	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
+	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 	      | -chorusos* | -chorusrdb* \
 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+	      | -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1137,5 +1168,5 @@
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
-	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
+	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
@@ -1161,6 +1192,6 @@
 		os=`echo $os | sed -e 's|mac|macos|'`
 		;;
-	-linux*)
-		os=`echo $os | sed -e 's|linux|linux-gnu|'`
+	-linux-dietlibc)
+		os=-linux-dietlibc
 		;;
 	-sunos5*)
@@ -1173,4 +1204,7 @@
 		os=-openedition
 		;;
+        -os400*)
+		os=-os400
+		;;
 	-wince*)
 		os=-wince
@@ -1193,4 +1227,7 @@
 	-atheos*)
 		os=-atheos
+		;;
+	-syllable*)
+		os=-syllable
 		;;
 	-386bsd)
@@ -1215,4 +1252,7 @@
 	-sinix*)
 		os=-sysv4
+		;;
+        -tpf*)
+		os=-tpf
 		;;
 	-triton*)
@@ -1283,7 +1323,7 @@
 		os=-aout
 		;;
-	c4x-* | tic4x-*)
-		os=-coff
-		;;
+    c4x-* | tic4x-*)
+        os=-coff
+        ;;
 	# This must come before the *-dec entry.
 	pdp10-*)
@@ -1331,4 +1371,7 @@
 	*-ibm)
 		os=-aix
+		;;
+    	*-knuth)
+		os=-mmixware
 		;;
 	*-wec)
@@ -1464,6 +1507,12 @@
 				vendor=ibm
 				;;
+			-os400*)
+				vendor=ibm
+				;;
 			-ptx*)
 				vendor=sequent
+				;;
+			-tpf*)
+				vendor=ibm
 				;;
 			-vxsim* | -vxworks* | -windiss*)
Index: /trunk/psModules/test/FullUnitTest
===================================================================
--- /trunk/psModules/test/FullUnitTest	(revision 3622)
+++ /trunk/psModules/test/FullUnitTest	(revision 3623)
@@ -19,6 +19,6 @@
 #  RETURN : integer number of tests which failed
 #
-#  $Revision: 1.1 $  $Name: not supported by cvs2svn $
-#  $Date: 2004-10-14 23:58:56 $
+#  $Revision: 1.2 $  $Name: not supported by cvs2svn $
+#  $Date: 2005-04-01 20:11:19 $
 #
 #  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -29,5 +29,5 @@
 use Cwd;
 
-# Provides functions for handling long command line options
+# Provides functions for handling psS64 command line options
 use Getopt::Long;
 
@@ -61,6 +61,6 @@
 # add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment
 # variables
-$ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
-$ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
+$ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'LD_LIBRARY_PATH'}";
+$ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'DYLD_LIBRARY_PATH'}";
 
 # Initialize variables for counting the makes and test failures and the
@@ -239,20 +239,12 @@
             `make clean`;
 
-            # Execute the make distclean
-            `make distclean`;
         }
 
         # Execute the make and save results
-        $_ = join( "\n|| ", split( "\n", "\n" . `make` ) );
+        $_ = join( "\n|| ", split( "\n", "\n" . `make tests` ) );
 
         # Check the output of make for return value != 0 or any of the
         # following words: FAILED, FAULT, ERROR, Not found, SIGNAL
-        if (   ( $? != 0 )
-            || m/FAILED/i
-            || m/FAULT/i
-            || m/\bERROR/i
-            || m/Not found/i
-            || m/SIGNAL/i )
-        {
+        if ( $? != 0 ) {
 
             # Display the errored output of make if silent option not enabled
@@ -276,7 +268,4 @@
             # Display the make was successful if silent option not set
             print("\nMake successful.\n") if ( !$silent );
-            if ($clean) {
-                `make install`;
-            }
         }
     }
@@ -664,6 +653,8 @@
         s/$hostname\s*/<HOST>/g;
         s/: Line \d+/: Line <LINENO>/g;
-        s/\:\d+/\:<LINENO>/g;
+        s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
+        s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
         s/allocate \d+ bytes at/allocate <N> bytes at/g;
+        s/v\d+.\d+.\d+/vX.X.X/g;
 
         # Filter lines with *** malloc.  This is an artifact of Mac testing of
@@ -692,6 +683,8 @@
         s/$hostname\s*/<HOST>/g;
         s/: Line \d+/: Line <LINENO>/g;
-        s/\:\d+/\:<LINENO>/g;
+        s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
+        s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
         s/allocate \d+ bytes at/allocate <N> bytes at/g;
+        s/v\d+.\d+.\d+/vX.X.X/g;
 
         # Filter lines with *** malloc.  This is an artifact of Mac testing of
Index: /trunk/psModules/test/Makefile.am
===================================================================
--- /trunk/psModules/test/Makefile.am	(revision 3622)
+++ /trunk/psModules/test/Makefile.am	(revision 3623)
@@ -1,18 +1,29 @@
-bin_PROGRAMS = tst_pmFlatField tst_pmMaskBadPixels tst_pmNonLinear tst_pmSubtractBias tst_pmReadoutCombine tst_pmSubtractSky tst_pmObjects01
+# Makefile for psModule tests
 
 AM_LDFLAGS = -L../src -lpsmodule $(LDFLAGS)
 
+TESTS = tst_pmFlatField \
+	tst_pmMaskBadPixels \
+	tst_pmNonLinear \
+	tst_pmSubtractBias \
+	tst_pmReadoutCombine \
+	tst_pmSubtractSky \
+	tst_pmObjects01
+
+check_PROGRAMS = $(TESTS)
+
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest --verified=$(srcdir)/verified
+
+tests: $(TESTS)
+
+EXTRA_DIST = runTest
+
+CLEANFILES = $(TESTS)
+
 tst_pmFlatField_SOURCES = tst_pmFlatField.c
-
 tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c
-
 tst_pmNonLinear_SOURCES = tst_pmNonLinear.c
-
 tst_pmSubtractBias_SOURCES = tst_pmSubtractBias.c
-
 tst_pmReadoutCombine_SOURCES = tst_pmReadoutCombine.c
-
 tst_pmSubtractSky_SOURCES = tst_pmSubtractSky.c
-
 tst_pmObjects01_SOURCES = tst_pmObjects01.c
-
Index: /trunk/psModules/test/runTest
===================================================================
--- /trunk/psModules/test/runTest	(revision 3622)
+++ /trunk/psModules/test/runTest	(revision 3623)
@@ -18,17 +18,13 @@
 #                 0    Test run successfull and all tests passed
 #                 1    Verified directory did not exist
-#                 2    Verified STDOUT file did not exist
-#                 4    Verified STDERR file did not exist
 #                 8    STDOUT files did not compare
 #                16    STDERR files did not compare
 #                32    Test driver doesn't exist or is not executable
-#                64    STDOUT captured contains error strings
-#               128    STDERR captured contains error strings
-#               256    Test driver did not return zero
+#                64    Test driver did not return zero
 #
 #  SYNOSIS:  runTest testDriverName
 #
 #  $Revison:  $  $Name: not supported by cvs2svn $
-#  $Date: 2004-10-14 23:58:56 $
+#  $Date: 2005-04-01 20:11:19 $
 #
 #  Copyright 2004 Maui High Performance Computering Center, University of Hawaii
@@ -36,6 +32,8 @@
 ################################################################################
 
-# Provides functions for handling long command line options
+# Provides functions for handling psS64 command line options
 use Getopt::Long;
+
+$verifiedDir = "verified";
 
 # Assign variables based on the presence of command line options to the script
@@ -44,8 +42,9 @@
     "resetStderr!" => \$resetStderr,
     "resetStdout!" => \$resetStdout,
+    "verified=s"   => \$verifiedDir,
     "help!"        => \$help
 );
 
-if ($help) {
+if ($help || $#ARGV < 0) {
     print
 "Usage: runTest [--reset] [--resetStderr] [--resetStdout] testfile(s)\n\n";
@@ -62,22 +61,10 @@
 
 # Set up the PSLIB_ROOT environment variable if the user doesn't have it set
-if ( !$ENV{'PSLIB_ROOT'} ) {
-
-    # Use the directory directly above test
-    $PSLIB_ROOT = `cd ..;pwd`;
-
-    # Remove newline for the end of path returned
-    chomp($PSLIB_ROOT);
-
-    # Set the environment variable
-    $ENV{'PSLIB_ROOT'} = $PSLIB_ROOT;
-
-    # Display message that PSLIB_ROOT not found and set to
-    print("PSLIB_ROOT not found: set to $PSLIB_ROOT\n");
-}
-
-# Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
-$ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
-$ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
+if ( $ENV{'PSLIB_ROOT'} ) {
+
+	# Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
+	$ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'LD_LIBRARY_PATH'}";
+	$ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'DYLD_LIBRARY_PATH'}";
+}
 
 # Loop through the arguements passed to the script
@@ -97,5 +84,5 @@
 
     # Check if a verified directory exists in the current work directory
-    if ( !( -e "verified" ) ) {
+    if ( !( -e $verifiedDir ) ) {
 
         # Display message that verified subdirectory doesn't exist
@@ -125,108 +112,106 @@
             # Display failure message with return value to user
             if ( $? != 0 && ( $testFile !~ /^A/i ) ) {
-                print(
-"        Failed - Test Driver expected 0 return value (Return value $?)\n"
-                );
+                print("Failed - Test Driver returned $?, expected 0.\n");
             }
             elsif ( $? == 0 && ( $testFile =~ /^A/i ) ) {
-                print(
-"        Failed - Test Driver expected abort (Return value $?)\n"
-                );
-            }
-            $exitValue |= 256;
-        }
-        else {
-
-            # Test driver succeeded.
-
-            # Create filtered version of stdout and stderr
-
-            # Open the STDOUT file for reading
-            open( OUTFILE, "< temp/$testFile.stdout" );
-
-            # Open mod file to place filtered STDOUT
-            open( MODFILE,  "> temp/$testFile.stdout.mod" );
-            open( MODFILE2, "> verified/$testFile.stdout" ) if $resetStdout;
-
-           # Replace the variable date, time and host information with constants
-            $hostname = `hostname`;
-            chop $hostname;
-            while (<OUTFILE>) {
-                s/\s+\d+:\d+:\d+\w/<TIME>/g;
-                s/\d+:\d+:\d+/<DATE>/g;
-                s/$hostname\s*/<HOST>/g;
-                s/: Line \d+/: Line <LINENO>/g;
-                s/\:\d+/\:<LINENO>/g;
-                s/allocate \d+ bytes at/allocate <N> bytes at/g;
-
-              # Filter lines with malloc.  This is an artifact of memory testing
-              # with the Mac testbed
-                if ( !m/\*\*\*\smalloc/ ) {
-                    print MODFILE ($_);
-                    print MODFILE2 ($_) if $resetStdout;
-                }
-            }
-
-            # Close mod file
-            close(MODFILE);
-            close(MODFILE2) if $resetStdout;
-
-            # Close STDERR file
-            close(OUTFILE);
-
-            # Open the STDERR file for reading
-            open( OUTFILE, "< temp/$testFile.stderr" );
-
-            # Open mod file to place filtered STDERR
-            open( MODFILE,  "> temp/$testFile.stderr.mod" );
-            open( MODFILE2, "> verified/$testFile.stderr" ) if $resetStderr;
-
-           # Replace the variable date, time and host information with constants
-            while (<OUTFILE>) {
-                s/\s+\d+:\d+:\d+\w/<TIME>/g;
-                s/\d+:\d+:\d+/<DATE>/g;
-                s/$hostname\s*/<HOST>/g;
-                s/: Line \d+/: Line <LINENO>/g;
-                s/\:\d+/\:<LINENO>/g;
-                s/allocate \d+ bytes at/allocate <N> bytes at/g;
-
-              # Filter lines with malloc.  This is an artifact of memory testing
-              # with the Mac testbed
-                if ( !m/\*\*\*\smalloc/ ) {
-                    print MODFILE ($_);
-                    print MODFILE2 ($_) if $resetStderr;
-                }
-            }
-
-            # Close mod file
-            close(MODFILE);
-            close(MODFILE2) if $resetStderr;
-
-            # Close STDERR file
-            close(OUTFILE);
-
-            # Compare STDOUT capture with verified file
-            $exitValue |= &compareStream("verified/$testFile.stdout");
-
-            # Check exit value to determine if verified file doesn't exist
-            if ( $exitValue & 2 ) {
-
-                # STDOUT verified doesn't exist.  Search STDOUT capture
-                # for strings indicating error or failure
-                $exitValue |= &errorStrSearch("$testFile.stdout");
-            }
-
-            # Compare STDERR capture with verified file
-            $exitValue |= &compareStream("verified/$testFile.stderr");
-
-            # Check exit value to determine if verified file doesn't exist
-            if ( $exitValue & 4 ) {
-
-                # STDERR verified doesn't exist.  Search STDERR capture
-                # for strings indicating error or failure
-                $exitValue |= &errorStrSearch("$testFile.stderr");
-            }
-        }
-    }
+                print("Failed - Test Driver returned $?, expected abort.\n");
+            }
+            $exitValue |= 64;
+        }
+
+        # Test driver succeeded.
+
+        # Create filtered version of stdout and stderr
+
+        # Open the STDOUT file for reading
+        open( OUTFILE, "< temp/$testFile.stdout" );
+
+        # Open mod file to place filtered STDOUT
+        open( MODFILE,  "> temp/$testFile.stdout.mod" );
+        open( MODFILE2, "> $verifiedDir/$testFile.stdout" ) if $resetStdout;
+
+        # Replace the variable date, time and host information with constants
+        $hostname = `hostname`;
+        chop $hostname;
+        while (<OUTFILE>) {
+            s/\s+\d+:\d+:\d+\w/<TIME>/g;
+            s/\d+:\d+:\d+/<DATE>/g;
+            s/$hostname\s*/<HOST>/g;
+            s/: Line \d+/: Line <LINENO>/g;
+            s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
+            s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
+            s/allocate \d+ bytes at/allocate <N> bytes at/g;
+            s/v\d+.\d+.\d+/vX.X.X/g;
+
+            # Filter lines with malloc.  This is an artifact of memory testing
+            # with the Mac testbed
+            if ( !m/\*\*\*\smalloc/ ) {
+                print MODFILE ($_);
+                print MODFILE2 ($_) if $resetStdout;
+            }
+        }
+
+        # Close mod file
+        close(MODFILE);
+        close(MODFILE2) if $resetStdout;
+
+        # Close STDERR file
+        close(OUTFILE);
+
+        # Open the STDERR file for reading
+        open( OUTFILE, "< temp/$testFile.stderr" );
+
+        # Open mod file to place filtered STDERR
+        open( MODFILE,  "> temp/$testFile.stderr.mod" );
+        open( MODFILE2, "> $verifiedDir/$testFile.stderr" ) if $resetStderr;
+
+        # Replace the variable date, time and host information with constants
+        while (<OUTFILE>) {
+            s/\s+\d+:\d+:\d+\w/<TIME>/g;
+            s/\d+:\d+:\d+/<DATE>/g;
+            s/$hostname\s*/<HOST>/g;
+            s/: Line \d+/: Line <LINENO>/g;
+            s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
+            s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
+            s/allocate \d+ bytes at/allocate <N> bytes at/g;
+            s/v\d+.\d+.\d+/vX.X.X/g;
+
+            # Filter lines with malloc.  This is an artifact of memory testing
+            # with the Mac testbed
+            if ( !m/\*\*\*\smalloc/ ) {
+                print MODFILE ($_);
+                print MODFILE2 ($_) if $resetStderr;
+            }
+        }
+
+        # Close mod file
+        close(MODFILE);
+        close(MODFILE2) if $resetStderr;
+
+        # Close STDERR file
+        close(OUTFILE);
+
+        # Compare STDOUT capture with verified file
+        $exitValue |= &compareStream("$verifiedDir/$testFile.stdout");
+
+        # Check exit value to determine if verified file doesn't exist
+        if ( $exitValue & 2 ) {
+
+            # STDOUT verified doesn't exist.  Search STDOUT capture
+            # for strings indicating error or failure
+            $exitValue |= &errorStrSearch("$testFile.stdout");
+        }
+
+        # Compare STDERR capture with verified file
+        $exitValue |= &compareStream("$verifiedDir/$testFile.stderr");
+
+        # Check exit value to determine if verified file doesn't exist
+        if ( $exitValue & 4 ) {
+
+            # STDERR verified doesn't exist.  Search STDERR capture
+            # for strings indicating error or failure
+            $exitValue |= &errorStrSearch("$testFile.stderr");
+        }
+   }
     else {
 
@@ -320,6 +305,4 @@
 #
 #      Return:   0  -  Compare successful
-#                2  -  STDOUT verified file doesn't exist
-#                4  -  STDERR verified file doesn't exist
 #                8  -  STDOUT verified file doesn't compare
 #               16  -  STDERR verified file doesn't compare
@@ -333,18 +316,5 @@
 
     # Check for existence of verified STD stream files
-    if ( !( -e $streamFile ) ) {
-
-        # Display message to user that verified STDOUT file doesn't exist
-        print("        File $streamFile doesn't exist.\n");
-
-        # Set exit value bit 1 to indicate proper failure
-        if ( $streamFile =~ /out$/ ) {
-            $returnVal |= 2;
-        }
-        elsif ( $streamFile =~ /err$/ ) {
-            $returnVal |= 4;
-        }
-    }
-    else {
+    if ( -e $streamFile ) {
 
         # Verified STD stream file exists
@@ -352,5 +322,5 @@
         # Create name of the temp file to compare
         $tempFile = $streamFile;
-        $tempFile =~ s/verified/temp/;
+        $tempFile =~ s/$verifiedDir/temp/;
         $tempFile = $tempFile . ".mod";
 
Index: /trunk/psModules/test/verified/tst_pmFlatField.stderr
===================================================================
--- /trunk/psModules/test/verified/tst_pmFlatField.stderr	(revision 3622)
+++ /trunk/psModules/test/verified/tst_pmFlatField.stderr	(revision 3623)
@@ -5,23 +5,23 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Null not allowed for flat readout.
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Null not allowed for input image.
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Null not allowed for flat image.
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Input image size exceeds that of flat image: (3, 3) vs (2, 2)
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Input image mask size exceeds that of flat image: (4, 4) vs (3, 3)
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Total offset >= flat image size: (50, 50) vs (3, 3)
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Complex types not allowed for input image. Type: 2064
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Complex types not allowed for flat image. Type: 2064
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Input and flat image types differ: (1032 vs 1028)
-<DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     Mask must be PS_TYPE_MASK type. Type: 1028
 
Index: /trunk/psModules/test/verified/tst_pmMaskBadPixels.stderr
===================================================================
--- /trunk/psModules/test/verified/tst_pmMaskBadPixels.stderr	(revision 3622)
+++ /trunk/psModules/test/verified/tst_pmMaskBadPixels.stderr	(revision 3623)
@@ -41,5 +41,5 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Null not allowed for mask image.
 
@@ -52,5 +52,5 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Null not allowed for input image.
 
@@ -63,5 +63,5 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Input image size exceeds that of mask image: (60, 60) vs (50, 50)
 
@@ -74,5 +74,5 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Input image mask size exceeds that of mask image: (60, 60) vs (50, 50)
 
@@ -85,5 +85,5 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Total offset >= mask image: (150, 150) vs (50, 50)
 
@@ -96,5 +96,5 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Complex types not allowed for input image. Type: 2064
 
@@ -107,5 +107,5 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     Mask must be PS_TYPE_MASK type. Type: 1032
 
Index: /trunk/psModules/test/verified/tst_pmNonLinear.stderr
===================================================================
--- /trunk/psModules/test/verified/tst_pmNonLinear.stderr	(revision 3622)
+++ /trunk/psModules/test/verified/tst_pmNonLinear.stderr	(revision 3623)
@@ -23,9 +23,9 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (FILE:LINENO)
     Unallowable operation: inputReadout is NULL.
-<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (FILE:LINENO)
     Unallowable operation: inputReadout->image is NULL.
-<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (FILE:LINENO)
     Unallowable operation: input1DPoly is NULL.
 
@@ -38,11 +38,11 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
     Unallowable operation: inputReadout is NULL.
-<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
     Unallowable operation: inputReadout->image is NULL.
-<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
     Unallowable operation: inFlux is NULL.
-<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
     Unallowable operation: outFlux is NULL.
 <DATE><TIME>|<HOST>|W|pmNonLinearityLookup
@@ -58,5 +58,5 @@
 <DATE><TIME>|<HOST>|W|pmNonLinearityLookup
     WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (25, 23)
-<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
     pmNonLinearityLookup(): input vector less than 2 elements.  Returning inputReadout image.
 <DATE><TIME>|<HOST>|W|vectorBinDisectF32
Index: /trunk/psModules/test/verified/tst_pmReadoutCombine.stderr
===================================================================
--- /trunk/psModules/test/verified/tst_pmReadoutCombine.stderr	(revision 3622)
+++ /trunk/psModules/test/verified/tst_pmReadoutCombine.stderr	(revision 3623)
@@ -14,27 +14,27 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     zero vector has incorrect size (5).  Returning NULL.
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Unallowable operation: psVector zero has incorrect type.
 <DATE><TIME>|<HOST>|W|pmReadoutCombine
     WARNING: the zero vector too many elements (11)
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     scale vector has incorrect size (5).  Returning NULL.
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Unallowable operation: psVector scale has incorrect type.
 <DATE><TIME>|<HOST>|W|pmReadoutCombine
     WARNING: the scale vector has too many elements (20)
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Output image (1, 1) is too small to hold combined images.  Returning NULL.
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Output image offset is larger then input image offset.  Returning NULL.
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Unallowable operation: inputs is NULL.
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Unallowable operation: params is NULL.
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Multiple statistical options have been requested.  Returning NULL.
-<DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
     Unallowable operation: params->stats is NULL.
 
Index: /trunk/psModules/test/verified/tst_pmSubtractBias.stderr
===================================================================
--- /trunk/psModules/test/verified/tst_pmSubtractBias.stderr	(revision 3622)
+++ /trunk/psModules/test/verified/tst_pmSubtractBias.stderr	(revision 3623)
@@ -53,9 +53,9 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
     (overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE).  Returning in image
-<DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
     (overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE).  Returning in image
-<DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
     (overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE).  Returning in image
 <DATE><TIME>|<HOST>|W|pmSubtractBias
@@ -69,17 +69,17 @@
 <DATE><TIME>|<HOST>|W|pmSubtractBias
     WARNING: pmSubtractBias.(): overscan image has 7 columns, input image has 8 columns
-<DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
     Don't know how to scale the overscan vector.  Set fit to PM_FIT_SPLINE or PM_FIT_POLYNOMIAL.  Returning in image.
 <DATE><TIME>|<HOST>|W|pmSubtractBias
     WARNING: pmSubtractBias.(): overscan image has 7 rows, input image has 8 rows
-<DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
     Don't know how to scale the overscan vector.  Set fit to PM_FIT_SPLINE or PM_FIT_POLYNOMIAL.  Returning in image.
-<DATE><TIME>|<HOST>|E|psSubtractFrame (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|psSubtractFrame (FILE:LINENO)
     bias image does not have enough rows.  Returning in image
-<DATE><TIME>|<HOST>|E|psSubtractFrame (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|psSubtractFrame (FILE:LINENO)
     bias image does not have enough columns.  Returning in image
-<DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
     fit is unallowable (54321).  Returning in image.
-<DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
     overScanAxis is unallowable (54321).  Returning in image.
 
Index: /trunk/psModules/test/verified/tst_pmSubtractSky.stderr
===================================================================
--- /trunk/psModules/test/verified/tst_pmSubtractSky.stderr	(revision 3622)
+++ /trunk/psModules/test/verified/tst_pmSubtractSky.stderr	(revision 3623)
@@ -38,9 +38,9 @@
 \**********************************************************************************/
 
-<DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
     Unallowable operation: psReadout in or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
     Unallowable operation: psReadout in or its data is NULL.
-<DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
     Unallowable operation: psImage in has incorrect type.
 <DATE><TIME>|<HOST>|W|pmSubtractSky
@@ -56,5 +56,5 @@
 <DATE><TIME>|<HOST>|W|pmSubtractSky
     WARNING: pmSubtractSky(): clipSD is -1.000000
-<DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
+<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
     psFit is unallowable (54321).  Returning in image.
 
