mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
automake
This commit is contained in:
parent
98a4bbd4d8
commit
dfb658d6e4
@ -6,8 +6,8 @@
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `pthread_create' library (-lpthread_create). */
|
||||
#undef HAVE_LIBPTHREAD_CREATE
|
||||
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
26
configure
vendored
26
configure
vendored
@ -15961,13 +15961,13 @@ fi
|
||||
|
||||
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: checking for pthread in -lpthread_create" >&5
|
||||
$as_echo_n "checking for pthread in -lpthread_create... " >&6; }
|
||||
if test "${ac_cv_lib_pthread_create_pthread+set}" = set; then
|
||||
{ $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
|
||||
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
|
||||
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lpthread_create $LIBS"
|
||||
LIBS="-lpthread $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@ -15981,11 +15981,11 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char pthread ();
|
||||
char pthread_create ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return pthread ();
|
||||
return pthread_create ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
@ -16011,12 +16011,12 @@ $as_echo "$ac_try_echo") >&5
|
||||
test "$cross_compiling" = yes ||
|
||||
$as_test_x conftest$ac_exeext
|
||||
}; then
|
||||
ac_cv_lib_pthread_create_pthread=yes
|
||||
ac_cv_lib_pthread_pthread_create=yes
|
||||
else
|
||||
$as_echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
ac_cv_lib_pthread_create_pthread=no
|
||||
ac_cv_lib_pthread_pthread_create=no
|
||||
fi
|
||||
|
||||
rm -rf conftest.dSYM
|
||||
@ -16024,14 +16024,14 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
LIBS=$ac_check_lib_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_create_pthread" >&5
|
||||
$as_echo "$ac_cv_lib_pthread_create_pthread" >&6; }
|
||||
if test "x$ac_cv_lib_pthread_create_pthread" = x""yes; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
|
||||
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
|
||||
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_LIBPTHREAD_CREATE 1
|
||||
#define HAVE_LIBPTHREAD 1
|
||||
_ACEOF
|
||||
|
||||
LIBS="-lpthread_create $LIBS"
|
||||
LIBS="-lpthread $LIBS"
|
||||
|
||||
fi
|
||||
|
||||
|
@ -32,7 +32,7 @@ AC_CHECK_HEADER([iostream.h],[OCC_FLAGS="$OCCFLAGS -DHAVE_IOSTREAM_H"])
|
||||
AC_CHECK_HEADER([limits],[OCCFLAGS="$OCCFLAGS -DHAVE_LIMITS"])
|
||||
AC_CHECK_HEADER([limits.h],[OCCFLAGS="$OCCFLAGS -DHAVE_LIMITS_H"])
|
||||
|
||||
AC_CHECK_LIB(pthread_create, pthread)
|
||||
AC_CHECK_LIB(pthread, pthread_create)
|
||||
AC_SEARCH_LIBS(Tcl_Init, [tcl8.5 tcl8.4])
|
||||
AC_SEARCH_LIBS(Tk_Init, [tk8.5 tk8.4])
|
||||
# AC_SEARCH_LIBS(Togl_Init, Toglstub2.0 )
|
||||
|
Loading…
Reference in New Issue
Block a user