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 5122 by michael, Thu Dec 25 16:50:00 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 for ac_func in strftime
12553 do :
12554  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12555 if test "x$ac_cv_func_strftime" = xyes; then :
12556  cat >>confdefs.h <<_ACEOF
12557 #define HAVE_STRFTIME 1
12558 _ACEOF
12559
12560 else
12561  # strftime is in -lintl on SCO UNIX.
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12563 $as_echo_n "checking for strftime in -lintl... " >&6; }
12564 if ${ac_cv_lib_intl_strftime+:} false; then :
12565  $as_echo_n "(cached) " >&6
12566 else
12567  ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-lintl  $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h.  */
12571
12572 /* Override any GCC internal prototype to avoid an error.
12573   Use char because int might match the return type of a GCC
12574   builtin and then its argument prototype would still apply.  */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char strftime ();
12579 int
12580 main ()
12581 {
12582 return strftime ();
12583  ;
12584  return 0;
12585 }
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588  ac_cv_lib_intl_strftime=yes
12589 else
12590  ac_cv_lib_intl_strftime=no
12591 fi
12592 rm -f core conftest.err conftest.$ac_objext \
12593    conftest$ac_exeext conftest.$ac_ext
12594 LIBS=$ac_check_lib_save_LIBS
12595 fi
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12597 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12598 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12599  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12600
12601 LIBS="-lintl $LIBS"
12602 fi
12603
12604 fi
12605 done
12606
12607
12552  
12553   for ac_prog in 'bison -y' byacc
12554   do

Diff Legend

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