Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > e88fac7f66b664a06f2f6ce8984a600c > files > 3

maui-3.2.5-23mdk.src.rpm

--- configure	2002-11-11 21:09:24.000000000 +0000
+++ configure.patched	2002-12-05 13:33:24.000000000 +0000
@@ -104,10 +104,11 @@
   printf "(building new Makefile)\n"
 
   if test "$GLOBAL_INSTDIR" = ""; then        
-    printf "Maui Installation Directory? (Default: /usr/local)\n"
+    printf "Maui Installation Directory? (Default: /usr)\n"
     printf "NOTE:  This is where Maui executables will be copied: "
 
-    read ans
+#    read ans
+ans=/usr
 
     if test "$ans" = ""; then
       INSTDIR="/usr/local"
@@ -122,7 +123,8 @@
     printf "Maui Home Directory? (Default: `/bin/pwd`)\n"
     printf "NOTE:  This is where Maui config, log, and checkpoint files are maintained: "
 
-    read ans
+#    read ans
+ans=/var/spool/maui
 
     if test "$ans" = ""; then
       MSCHEDHOME=`/bin/pwd`
@@ -135,7 +137,8 @@
 
   if test "$GLOBAL_CC" = ""; then
     printf "Compiler? (Default: ${CC}) "
-    read ans
+#    read ans
+ans=gcc
  
     if test "$ans" != ""; then
       CC=$ans
@@ -150,7 +153,8 @@
     while test "$SEED" = ""; do
       printf "Checksum Seed? (Any number between 0 and MAX_INT) "
  
-      read SEED
+#      read SEED
+SEED=1
     done
   else
     SEED=$GLOBAL_SEED
@@ -170,7 +174,8 @@
   if test "$GLOBAL_SEED" = ""; then
     printf "Correct? [Y|N] (Default: N) "    
 
-    read ans
+#    read ans
+ans=y
 
     if test "$ans" != "Y" -a "$ans" != "y"; then
       printf "Configure aborted\n"
@@ -272,7 +277,8 @@
 
   if test "$GLOBAL_USEPBS" = ""; then
     printf "Do you want to use PBS? [Y|N] (Default: ${default}) "
-    read ans
+#    read ans
+ans=y
 
     if test "$ans" = ""; then
       ans="$default"
@@ -285,10 +291,13 @@
     USEPBS="YES"
 
     if test "$GLOBAL_PBSTARGETDIR" = ""; then
-      default="/usr/local"
+#      default="/usr/local"
+default=/usr
 
       printf "PBS Target Directory: (default: ${default}) "
-      read ans
+#      read ans
+ans=/usr
+
     else
       ans="$GLOBAL_PBSTARGETDIR"
     fi
@@ -300,18 +309,22 @@
     fi
 
     if test "$OS" = "OSF"; then
-      PBSLibs="${PBSTargDir}/lib/libnet.a -lpbs"
+#      PBSLibs="${PBSTargDir}/lib/libnet.a -lpbs"
+PBSLibs="/usr/lib/torque-1.0.1/libnet.a -lpbs"
     else
-      PBSLibs="-lnet -lpbs"
+#      PBSLibs="-lnet -lpbs"
+PBSLibs="-lnet -L/usr/lib/torque-1.0.1/libnet.a -lpbs"
     fi
 
     echo "
 # uncomment for PBS
 export PBSDEF  = -D__MPBS
-export PBSIP   = -I${PBSTargDir}/include
-export PBSLP   = -L${PBSTargDir}/lib
+export PBSIP   = -I/usr/include/torque-1.0.1
+export PBSLP   = -L/usr/lib/torque-1.0.1
+#export PBSIP   = -I/usr/include
+#export PBSLP   = -L/usr//lib
+export PBSLIB  = ${PBSLibs} 
 
-export PBSLIB  = ${PBSLibs}
 " >> ${MAKEFILE}
   else
     echo "
@@ -327,7 +340,8 @@
 
   if test "$GLOBAL_USERMS" = ""; then
     printf "Do you want to use RMS standalone? [Y|N] (Default: ${default}) "
-    read ans
+#    read ans
+ans=no
  
     if test "$ans" = ""; then
       ans="$default"