Index: /branches/eam_branches/ipp-20220316/ippMonitor/configure.tcsh
===================================================================
--- /branches/eam_branches/ipp-20220316/ippMonitor/configure.tcsh	(revision 42200)
+++ /branches/eam_branches/ipp-20220316/ippMonitor/configure.tcsh	(revision 42201)
@@ -18,4 +18,5 @@
 set wwwbin  = ""
 set libdir  = ""
+set pltdir  = ""
 set datadir = ""
 set site = ""
@@ -109,4 +110,12 @@
    endif
    breaksw;
+  case --pltdir*
+   if ("$1" == "--pltdir") then
+     shift
+     set pltdir = $1
+   else
+     set pltdir = `echo $1 | tr = ' ' | awk '{print $2}'`
+   endif
+   breaksw;
   case --datadir*
    if ("$1" == "--datadir") then
@@ -127,4 +136,7 @@
   case --useMDB2
    set DBI = "MDB2"
+   breaksw;
+  case --usePDO
+   set DBI = "PDO"
    breaksw;
   case --help:
@@ -150,4 +162,5 @@
 echo "wwwbin: $wwwbin"
 echo "libdir: $libdir"
+echo "pltdir: $pltdir"
 echo "datadir:$datadir"
 echo "site:   $site"
@@ -182,4 +195,10 @@
 endif
 
+# LIBDIR set the install lib directory
+if ("$pltdir" == "") then
+  if ("$prefix" == "") goto usage
+  set pltdir = $prefix/plots
+endif
+
 # DATADIR holds the general non-binary files
 if ("$datadir" == "") then
@@ -198,8 +217,8 @@
 # convert Makefile.in to Makefile:
 if (-e Makefile) mv -f Makefile Makefile~
-cat Makefile.in | sed "s|@HTDOCS@|$htdocs|"    > tmp.1
-cat tmp.1       | sed "s|@HOST2@|$hostname2|"  > tmp.2
-cat tmp.2       | sed "s|@BINDIR@|$bindir|"    > tmp.1
-cat tmp.1       | sed "s|@WWWBIN@|$wwwbin|"    > Makefile
+cat Makefile.in | sed "s|@HTDOCS@|$htdocs|"  > tmp.1
+cat tmp.1       | sed "s|@PLTDIR@|$pltdir|"  > tmp.2
+cat tmp.2       | sed "s|@BINDIR@|$bindir|"  > tmp.1
+cat tmp.1       | sed "s|@WWWBIN@|$wwwbin|"  > Makefile
 rm -f tmp.1 tmp.2 
 
