comparison configure @ 269:6cbc409ff09f 2.6

Added asprintf redux
author lost
date Tue, 22 Dec 2009 05:53:05 +0000
parents 5f25e7afac21
children 6e940229360b
comparison
equal deleted inserted replaced
268:c48e676d641f 269:6cbc409ff09f
9569 9569
9570 9570
9571 fi 9571 fi
9572 9572
9573 9573
9574 for ac_func in vasprintf
9575 do :
9576 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
9577 if test "x$ac_cv_func_vasprintf" = x""yes; then :
9578 cat >>confdefs.h <<_ACEOF
9579 #define HAVE_VASPRINTF 1
9580 _ACEOF
9581
9582 fi
9583 done
9584
9585 if test $ac_cv_func_vasprintf = no; then
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595 gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext"
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605 gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext"
9606
9607
9608 if test $ac_cv_func_vasprintf = yes; then
9609 REPLACE_VASPRINTF=1
9610 else
9611 HAVE_VASPRINTF=0
9612 fi
9613
9614
9615
9616
9617
9618
9619
9620
9621 fi
9622
9623
9624
9625 GNULIB_VASPRINTF=1
9626
9627
9628
9629 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format"
9630
9631
9632
9633 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format"
9634
9635
9574 9636
9575 gl_cv_func_vsnprintf_usable=no 9637 gl_cv_func_vsnprintf_usable=no
9576 for ac_func in vsnprintf 9638 for ac_func in vsnprintf
9577 do : 9639 do :
9578 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" 9640 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"