mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
posix check
This commit is contained in:
parent
7f93c791de
commit
1209e001e4
61
configure
vendored
61
configure
vendored
@ -15162,6 +15162,67 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
|
||||
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: checking POSIX termios" >&5
|
||||
$as_echo_n "checking POSIX termios... " >&6; }
|
||||
if test "${ac_cv_sys_posix_termios+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <termios.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
/* SunOS 4.0.3 has termios.h but not the library calls. */
|
||||
tcgetattr(0, 0);
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
if { (ac_try="$ac_link"
|
||||
case "(($ac_try" in
|
||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
*) ac_try_echo=$ac_try;;
|
||||
esac
|
||||
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
||||
$as_echo "$ac_try_echo") >&5
|
||||
(eval "$ac_link") 2>conftest.er1
|
||||
ac_status=$?
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } && {
|
||||
test -z "$ac_cxx_werror_flag" ||
|
||||
test ! -s conftest.err
|
||||
} && test -s conftest$ac_exeext && {
|
||||
test "$cross_compiling" = yes ||
|
||||
$as_test_x conftest$ac_exeext
|
||||
}; then
|
||||
ac_cv_sys_posix_termios=yes
|
||||
else
|
||||
$as_echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
ac_cv_sys_posix_termios=no
|
||||
fi
|
||||
|
||||
rm -rf conftest.dSYM
|
||||
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
fi
|
||||
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
|
||||
$as_echo "$ac_cv_sys_posix_termios" >&6; }
|
||||
|
||||
|
||||
if test x$occon = xtrue; then
|
||||
OCC_TRUE=
|
||||
OCC_FALSE='#'
|
||||
|
@ -15,6 +15,8 @@ AC_LANG_CPLUSPLUS
|
||||
AC_PROG_CXX
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AC_SYS_POSIX_TERMIOS
|
||||
|
||||
AM_CONDITIONAL([OCC], [test x$occon = xtrue])
|
||||
AC_SUBST([OCCFLAGS], [$occfl])
|
||||
AC_SUBST([OCCLIBS], [$occlfl])
|
||||
|
@ -1486,7 +1486,7 @@ const char * ngscript[] = {
|
||||
"\n",\
|
||||
".ngmenu.help add command -label \"About...\" \\\n",\
|
||||
" -command {\n",\
|
||||
"tk_messageBox -message \"This is NETGEN \\n mainly written by \\n Joachim Sch<EFBFBD>erl \\n thanks to \\n R. Gaisbauer, J. Gerstmayr\"\n",\
|
||||
"tk_messageBox -message \"This is NETGEN \\n mainly written by \\n Joachim Schöberl \\n thanks to \\n R. Gaisbauer, J. Gerstmayr\"\n",\
|
||||
"}\n",\
|
||||
"\n",\
|
||||
"\n",\
|
||||
|
Loading…
Reference in New Issue
Block a user