Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3218 in orxonox.OLD for orxonox/trunk/configure


Ignore:
Timestamp:
Dec 19, 2004, 4:05:07 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: makefile of doc extends make and make config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure

    r3205 r3218  
    66036603
    66046604#checking for pthread libs
    6605  echo "$as_me:$LINENO: checking for main in -lpthread" >&5
    6606 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
    6607 if test "${ac_cv_lib_pthread_main+set}" = set; then
    6608   echo $ECHO_N "(cached) $ECHO_C" >&6
    6609 else
    6610   ac_check_lib_save_LIBS=$LIBS
    6611 LIBS="-lpthread  $LIBS"
    6612 cat >conftest.$ac_ext <<_ACEOF
    6613 /* confdefs.h.  */
    6614 _ACEOF
    6615 cat confdefs.h >>conftest.$ac_ext
    6616 cat >>conftest.$ac_ext <<_ACEOF
    6617 /* end confdefs.h.  */
    6618 
    6619 
    6620 int
    6621 main ()
    6622 {
    6623 main ();
    6624   ;
    6625   return 0;
    6626 }
    6627 _ACEOF
    6628 rm -f conftest.$ac_objext conftest$ac_exeext
    6629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6630   (eval $ac_link) 2>conftest.er1
    6631   ac_status=$?
    6632   grep -v '^ *+' conftest.er1 >conftest.err
    6633   rm -f conftest.er1
    6634   cat conftest.err >&5
    6635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6636   (exit $ac_status); } &&
    6637          { ac_try='test -z "$ac_c_werror_flag"
    6638                          || test ! -s conftest.err'
    6639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6640   (eval $ac_try) 2>&5
    6641   ac_status=$?
    6642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6643   (exit $ac_status); }; } &&
    6644          { ac_try='test -s conftest$ac_exeext'
    6645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6646   (eval $ac_try) 2>&5
    6647   ac_status=$?
    6648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6649   (exit $ac_status); }; }; then
    6650   ac_cv_lib_pthread_main=yes
    6651 else
    6652   echo "$as_me: failed program was:" >&5
    6653 sed 's/^/| /' conftest.$ac_ext >&5
    6654 
    6655 ac_cv_lib_pthread_main=no
    6656 fi
    6657 rm -f conftest.err conftest.$ac_objext \
    6658       conftest$ac_exeext conftest.$ac_ext
    6659 LIBS=$ac_check_lib_save_LIBS
    6660 fi
    6661 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
    6662 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
    6663 if test $ac_cv_lib_pthread_main = yes; then
    6664   FOUND_pthread=yes
    6665 fi
    6666 
    6667  if test "$FOUND_pthread" = "yes" ; then
    6668     LIBS="$LIBS -lpthread"
    6669  fi
     6605# AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes)
     6606# if test "$FOUND_pthread" = "yes" ; then
     6607#    LIBS="$LIBS -lpthread"
     6608# fi
    66706609
    66716610
Note: See TracChangeset for help on using the changeset viewer.