diff options
Diffstat (limited to 'Build/source/texk/dvipsk/configure')
-rwxr-xr-x | Build/source/texk/dvipsk/configure | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/configure b/Build/source/texk/dvipsk/configure index ed9c57caaca..21cbd655e9d 100755 --- a/Build/source/texk/dvipsk/configure +++ b/Build/source/texk/dvipsk/configure @@ -1078,6 +1078,9 @@ fi echo $ac_n "checking where the main texmf tree is located""... $ac_c" 1>&6 echo "configure:1081: checking where the main texmf tree is located" >&5 +case $prefix in + */) prefix=`echo "$prefix" | sed 's@/*$@@'`;; +esac texmfmain= if test "x$datadir" != 'x${prefix}/share'; then # First case, datadir is defined... @@ -1147,7 +1150,7 @@ cross_compiling=no fi echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:1151: checking size of int" >&5 +echo "configure:1154: checking size of int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1155,7 +1158,7 @@ else { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <<EOF -#line 1159 "configure" +#line 1162 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -1166,7 +1169,7 @@ main() exit(0); } EOF -if { (eval echo configure:1170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=`cat conftestval` else |