*) yyy="" ;;
esac
-$cat >try.c <<EOCP
+case "$sGMTIME_min/$sGMTIME_max" in
+ 0/0|/)
+ $cat >try.c <<EOCP
#include <sys/types.h>
#include <stdio.h>
#include <time.h>
return (0);
} /* main */
EOCP
-set try
-if eval $compile; then
- eval `$run ./try`
-else
- echo "Cannot determine sGMTIME_max and sGMTIME_min." >&4
- fi
-$rm_try
+ set try
+ if eval $compile; then
+ eval `$run ./try`
+ else
+ echo "Cannot determine sGMTIME_max and sGMTIME_min." >&4
+ fi
+ $rm_try
+ ;;
+ esac
echo "Checking max offsets that localtime () accepts"
-$cat >try.c <<EOCP
+case "$sLOCALTIME_min/$sLOCALTIME_max" in
+ 0/0|/)
+ $cat >try.c <<EOCP
#include <sys/types.h>
#include <stdio.h>
#include <time.h>
return (0);
} /* main */
EOCP
-set try
-if eval $compile; then
- eval `$run ./try`
-else
- echo "Cannot determine sLOCALTIME_max and sLOCALTIME_min." >&4
- fi
-$rm_try
+ set try
+ if eval $compile; then
+ eval `$run ./try`
+ else
+ echo "Cannot determine sLOCALTIME_max and sLOCALTIME_min." >&4
+ fi
+ $rm_try
+ ;;
+ esac