Index: /trunk/Ohana/Makefile
===================================================================
--- /trunk/Ohana/Makefile	(revision 6680)
+++ /trunk/Ohana/Makefile	(revision 6681)
@@ -34,5 +34,4 @@
 gastro2     \
 gcompare    \
-gophot      \
 imclean     \
 imregister  \
@@ -57,4 +56,5 @@
 fixcat      \
 getstar     \
+gophot      \
 getusno     \
 lightcurve  \
Index: /trunk/Ohana/configure
===================================================================
--- /trunk/Ohana/configure	(revision 6680)
+++ /trunk/Ohana/configure	(revision 6681)
@@ -147,7 +147,7 @@
 # check for termcap, curses, etc
 set tlibflag = ""
-foreach f ( libncurses libcurses libtermcap )
+foreach f ( ncurses curses termcap )
       foreach g ( /usr/lib $lib $libpath )
-	set name = "$g/$f.a"
+	set name = "$g/lib$f.a"
 	if (-e $name) then
 	    echo "found $name"
@@ -155,5 +155,5 @@
 	    goto got_curses;
 	endif
-	set name = "$g/$f.so"
+	set name = "$g/lib$f.so"
 	if (-e $name) then
 	    echo "found $name"
