if [ $? -eq 0 ] ; then flags="$flags --with-tcl=$tcldir"; fi
tkdir="`where_tk`"
if [ $? -eq 0 ] ; then flags="$flags --with-tk=$tkdir"; fi
+dpsdir="`where_dps`"
+if [ $? -eq 0 ] ; then flags="$flags --with-dps-include=$dpsdir/include --with-dps-library=$dpsdir/lib"; fi
flags="$flags --disable-debug --enable-production"
export CASROOT=${PRODUCT_WORK}
fi
}
+where_dps(){
+if test -f /usr/X11R6/include/DPS/dpsconfig.h ; then
+ echo "/usr/X11R6"
+ return 0
+fi
+if test -f /usr/include/DPS/dpsconfig.h ; then
+ echo "/usr"
+ return 0
+fi
+echo ""
+return 1
+}
+
modif_la_files(){
ldir=$1
if [ -z "$ldir" ] || [ ! -d "$ldir" ]; then return 1; fi