Set default for TMP to /tmp (autotools creates its own subdirectory)
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Jul 2008 13:06:37 +0000 (13:06 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Jul 2008 13:06:37 +0000 (13:06 +0000)
  * Ideally this would check for a user's TMPDIR env variable and use that instead

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1356 9efc2488-bf62-4759-914b-345cdb29e865

configure.ac

index 7d109fc..836fb8d 100644 (file)
@@ -36,7 +36,7 @@ AC_DEFUN([AC_PYTHON_MOD],[
         PYTHON="python"
     fi
     AC_MSG_CHECKING($PYTHON_NAME module: $1)
-        $PYTHON -c "import $1" 2>/tmp/null
+        $PYTHON -c "import $1" 2>/dev/null
         if test $? -eq 0;
         then
                 AC_MSG_RESULT(yes)
@@ -125,9 +125,9 @@ AC_PROG_MAKE_SET
 # Set install path variables
 #------------------------------
 AC_ARG_WITH([tmp],
-[  --with-tmp=path              location for the tmp dir for openSRF (/tmp/osrftmp by default)],
+[  --with-tmp=path              location for the tmp dir for openSRF (default is /tmp)],
 [TMP=${withval}],
-[TMP=/tmp/osrftmp])
+[TMP=/tmp])
 AC_SUBST([TMP])
 
 AC_ARG_WITH([apxs],