ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/configure
(Generate patch)

Comparing hopm/trunk/configure (file contents):
Revision 5110 by michael, Wed Dec 24 13:37:32 2014 UTC vs.
Revision 5123 by michael, Thu Dec 25 16:57:22 2014 UTC

# Line 12549 | Line 12549 | $as_echo "#define TM_IN_SYS_TIME 1" >>co
12549   fi
12550  
12551  
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12553 $as_echo_n "checking return type of signal handlers... " >&6; }
12554 if ${ac_cv_type_signal+:} false; then :
12555  $as_echo_n "(cached) " >&6
12556 else
12557  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h.  */
12559 #include <sys/types.h>
12560 #include <signal.h>
12561
12562 int
12563 main ()
12564 {
12565 return *(signal (0, 0)) (0) == 1;
12566  ;
12567  return 0;
12568 }
12569 _ACEOF
12570 if ac_fn_c_try_compile "$LINENO"; then :
12571  ac_cv_type_signal=int
12572 else
12573  ac_cv_type_signal=void
12574 fi
12575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12576 fi
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12578 $as_echo "$ac_cv_type_signal" >&6; }
12579
12580 cat >>confdefs.h <<_ACEOF
12581 #define RETSIGTYPE $ac_cv_type_signal
12582 _ACEOF
12583
12584
12585 for ac_func in strftime
12586 do :
12587  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12588 if test "x$ac_cv_func_strftime" = xyes; then :
12589  cat >>confdefs.h <<_ACEOF
12590 #define HAVE_STRFTIME 1
12591 _ACEOF
12592
12593 else
12594  # strftime is in -lintl on SCO UNIX.
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12596 $as_echo_n "checking for strftime in -lintl... " >&6; }
12597 if ${ac_cv_lib_intl_strftime+:} false; then :
12598  $as_echo_n "(cached) " >&6
12599 else
12600  ac_check_lib_save_LIBS=$LIBS
12601 LIBS="-lintl  $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h.  */
12604
12605 /* Override any GCC internal prototype to avoid an error.
12606   Use char because int might match the return type of a GCC
12607   builtin and then its argument prototype would still apply.  */
12608 #ifdef __cplusplus
12609 extern "C"
12610 #endif
12611 char strftime ();
12612 int
12613 main ()
12614 {
12615 return strftime ();
12616  ;
12617  return 0;
12618 }
12619 _ACEOF
12620 if ac_fn_c_try_link "$LINENO"; then :
12621  ac_cv_lib_intl_strftime=yes
12622 else
12623  ac_cv_lib_intl_strftime=no
12624 fi
12625 rm -f core conftest.err conftest.$ac_objext \
12626    conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12628 fi
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12630 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12631 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12632  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12633
12634 LIBS="-lintl $LIBS"
12635 fi
12636
12637 fi
12638 done
12639
12640
12552  
12553   for ac_prog in 'bison -y' byacc
12554   do

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)