Use default system file if none found for uname
This commit is contained in:
Vendored
+16
-10
@@ -1862,17 +1862,23 @@ ac_config_headers="$ac_config_headers common/autoconfig.h"
|
||||
|
||||
|
||||
|
||||
sys=`uname`
|
||||
if test -f mk/$sys ; then
|
||||
(cd mk; rm -f sysconf; ln -s $sys sysconf)
|
||||
else
|
||||
cat <<EOF
|
||||
No system configuration file found in mk/ for '$sys'. Maybe you
|
||||
could try to write one, starting from one of the existing files, they
|
||||
are really simple.
|
||||
EOF
|
||||
exit 1
|
||||
sys=`uname | tr / _`
|
||||
|
||||
if test ! -f mk/$sys ; then
|
||||
{ $as_echo "$as_me:$LINENO:
|
||||
No system configuration file found in mk/ for uname = '$sys'.
|
||||
Trying with Default file.
|
||||
If the build fails, you'll need to write a configuration file, starting
|
||||
from one of the existing ones." >&5
|
||||
$as_echo "$as_me:
|
||||
No system configuration file found in mk/ for uname = '$sys'.
|
||||
Trying with Default file.
|
||||
If the build fails, you'll need to write a configuration file, starting
|
||||
from one of the existing ones." >&6;}
|
||||
|
||||
sys=Default
|
||||
fi
|
||||
(cd mk; rm -f sysconf; ln -s $sys sysconf)
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
|
||||
Reference in New Issue
Block a user