Index: trunk/Nebulous/nebclient/tests/tap/src/tap.c
===================================================================
--- trunk/Nebulous/nebclient/tests/tap/src/tap.c	(revision 34067)
+++ trunk/Nebulous/nebclient/tests/tap/src/tap.c	(revision 34080)
@@ -87,5 +87,6 @@
     if(test_name != NULL) {
         va_start(ap, test_name);
-        vasprintf(&local_test_name, test_name, ap);
+        int status = vasprintf(&local_test_name, test_name, ap);
+	if (status) {/* warning? */}
         va_end(ap);
 
@@ -303,5 +304,6 @@
 
     va_start(ap, fmt);
-    asprintf(&skip_msg, fmt, ap);
+    int status = asprintf(&skip_msg, fmt, ap);
+    if (status) {/* warning? */}
     va_end(ap);
 
@@ -328,5 +330,6 @@
 
     va_start(ap, fmt);
-    vasprintf(&todo_msg, fmt, ap);
+    int status = vasprintf(&todo_msg, fmt, ap);
+    if (status) {/* warning? */}
     va_end(ap);
 
Index: trunk/dvoTools/configure.ac
===================================================================
--- trunk/dvoTools/configure.ac	(revision 34067)
+++ trunk/dvoTools/configure.ac	(revision 34080)
@@ -8,5 +8,5 @@
 AM_MAINTAINER_MODE
 
-IPP_STDCFLAGS
+IPP_STDLDFLAGS
 
 AC_LANG(C)
@@ -21,5 +21,5 @@
 
 IPP_STDOPTS
-CFLAGS="${CFLAGS=} -Wall -Werror"
+IPP_STDCFLAGS
 
 AC_CONFIG_FILES([
Index: trunk/extsrc/gpcsw/Makefile.in
===================================================================
--- trunk/extsrc/gpcsw/Makefile.in	(revision 34067)
+++ trunk/extsrc/gpcsw/Makefile.in	(revision 34080)
@@ -9,5 +9,9 @@
 
 clean:
-	echo "dummy clean"
+	cd gpcsrc && make -C fits/libfh clean
+	cd gpcsrc && make -C fits/libfhreg clean
+	cd gpcsrc && make -C analysis/libpscoords clean
+	cd gpcsrc && make -C fits/burntool clean
+	cd gpcsrc && make -C fits/tiltystreak clean
 
 update:
Index: trunk/extsrc/gpcsw/configure.tcsh
===================================================================
--- trunk/extsrc/gpcsw/configure.tcsh	(revision 34067)
+++ trunk/extsrc/gpcsw/configure.tcsh	(revision 34080)
@@ -7,4 +7,14 @@
 
 # evaluate command-line options
+set vararch = 0
+set optimize = 0
+set pedantic = 1
+set no_as_needed = 0
+set debug_build = 0
+set memcheck = 0
+set use_tcmalloc = 0
+set use_gnu99 = 0
+set no_largefiles = 0
+
 set prefix  = ""
 set bindir  = ""
@@ -22,15 +32,15 @@
 
 while ("$1" != "") 
- echo "checking $1"
  switch ("$1")
-  # switch options passed by build systems which we ignore
+  # options passed by build systems which we ignore
   case --enable-maintainer-mode
   case --no-create
   case --no-recursion
-  case --enable-optimize
   case --disable-shared
   case --enable-shared
   case --disable-static
   case --enable-static
+  # skipped by gpcsw, but not Ohana
+  case --enable-optimize
   case --enable-profile
   case --pedantic
@@ -43,4 +53,5 @@
   case --oldincludedir*
   case --infodir*
+  # skipped by gpcsw, but not Ohana
   case --exec-prefix*
   case --libdir*
@@ -55,4 +66,10 @@
      endif
    endif
+   breaksw;
+  case --enable-no-as-needed
+   set no_as_needed = 1
+   breaksw;
+  case --enable-debug-build
+   set debug_build = 1
    breaksw;
   case --prefix*
Index: trunk/glueforge/templates/psdb/configure_ac.tt
===================================================================
--- trunk/glueforge/templates/psdb/configure_ac.tt	(revision 34067)
+++ trunk/glueforge/templates/psdb/configure_ac.tt	(revision 34080)
@@ -13,4 +13,6 @@
 AM_CONFIG_HEADER([config.h])
 AM_MAINTAINER_MODE
+
+IPP_STDLDFLAGS
 
 AC_CONFIG_TESTDIR([tests])
@@ -54,6 +56,7 @@
 dnl is this the best was to setup recursive CFLAGS?
 IPP_STDOPTS
-dnl -Werror causes problems on OSX as inttypes.h uses some non standard C types
-[% pkg_name %]_CFLAGS="-Wall -pedantic -fno-strict-aliasing"
+IPP_STDCFLAGS
+
+[% pkg_name %]_CFLAGS="-pedantic -fno-strict-aliasing"
 AC_SUBST([[% pkg_name %]_CFLAGS])
 
Index: trunk/ippScripts/scripts/addstar_run.pl
===================================================================
--- trunk/ippScripts/scripts/addstar_run.pl	(revision 34067)
+++ trunk/ippScripts/scripts/addstar_run.pl	(revision 34080)
@@ -261,7 +261,17 @@
 	   
 	    my $realFile = $ipprc->file_resolve($fpaObjects) or  &my_die("Unable to resolve $fpaObjects", $add_id, $PS_EXIT_SYS_ERROR);
-	    
-	    
-	   
+
+	    # most cameras use CHIP_HEADER.  other exceptions:
+	    # gpc1 @ camera : PHU_HEADER
+	    # gpc1 @ staticsky : NOMINAL (is uncalibrated)
+
+	    # temporary hard-wired info
+	    my $zeroPointOption = "CHIP_HEADER";
+	    if (($camdir =~ /gpc1/) && ($stage =~ /staticsky/)) {
+		$zeroPointOption = "NOMINAL";
+	    }		
+	    if (($camdir =~ /gpc1/) && ($stage =~ /cam/)) {
+		$zeroPointOption = "PHU_HEADER";
+	    }		
 
 	    # require a defined output dvo database to run addstar (ie, refuse to use the .ptolemyrc default)
@@ -269,4 +279,5 @@
 	    $command .= " -D CAMERA $camdir";
 	    $command .= " -D CATDIR $minidvodb_path";
+	    $command .= " -D ZERO_POINT_OPTION $zeroPointOption";
 	    $command .= " $realFile";
 	    $command .= " -use-name $fpaObjects"; # DVO wants the neb-name as a file reference
@@ -275,4 +286,5 @@
 		$command .= " -accept-astrom ";
 	    }  #careful here - this matches staticsky and staticsky_multi
+
 	    my $mjd_addstar_start = DateTime->now->mjd;   # MJD of starting script
 
Index: trunk/ippToPsps/configure.ac
===================================================================
--- trunk/ippToPsps/configure.ac	(revision 34067)
+++ trunk/ippToPsps/configure.ac	(revision 34080)
@@ -9,5 +9,5 @@
 AM_MAINTAINER_MODE
 
-IPP_STDCFLAGS
+IPP_STDLDFLAGS
 
 AC_LANG(C)
@@ -31,5 +31,6 @@
 dnl Set CFLAGS for build
 IPP_STDOPTS
-CFLAGS="${CFLAGS=} -Wall -Werror"
+IPP_STDCFLAGS
+dnl CFLAGS="${CFLAGS=} -Wall -Werror"
 echo "IPPTOPSPS_CFLAGS: $IPPTOPSPS_CFLAGS"
 echo "IPPTOPSPS_LIBS: $IPPTOPSPS_LIBS"
