Changeset 584cbc in git


Ignore:
Timestamp:
Jun 16, 2010, 5:29:45 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
227efd8f5d6e826d69e0c8fc8c68a29bc56b80d0
Parents:
a296bb8b3051f16b293d46d397aec1747775e971
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-06-16 17:29:45+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:11+01:00
Message:
test -pipe
Location:
reporter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • reporter/configure

    ra296bb8 r584cbc  
    597597ac_subst_vars='LTLIBOBJS
    598598LIBOBJS
     599PIPE
    599600EGREP
    600601GREP
     
    38593860
    38603861
     3862# check whether the compiler accepts -pipe
     3863if test x$ac_cv_c_cpp = xgcc2 -o  x$ac_cv_c_cpp = xgcc3
     3864then
     3865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -pipe" >&5
     3866$as_echo_n "checking whether compiler accepts -pipe... " >&6; }
     3867  temp_cflags="${CFLAGS}"
     3868  CFLAGS="${CFLAGS} -pipe"
     3869  if test "${ac_cv_cxx_have_pipe+set}" = set; then :
     3870  $as_echo_n "(cached) " >&6
     3871else
     3872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3873/* end confdefs.h.  */
     3874
     3875int
     3876main ()
     3877{
     3878
     3879  ;
     3880  return 0;
     3881}
     3882_ACEOF
     3883if ac_fn_c_try_compile "$LINENO"; then :
     3884  ac_cv_cxx_have_pipe=yes
     3885else
     3886  ac_cv_cxx_have_pipe=no
     3887fi
     3888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3889fi
     3890
     3891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_cxx_have_pipe}" >&5
     3892$as_echo "${ac_cv_cxx_have_pipe}" >&6; }
     3893  CFLAGS=${temp_cflags}
     3894else
     3895  ac_cv_cxx_have_pipe="no"
     3896fi
     3897
     3898if test "${ac_cv_cxx_have_pipe}" != yes; then
     3899  PIPE=
     3900else
     3901  PIPE="-pipe"
     3902fi
     3903
     3904
    38613905ac_config_files="$ac_config_files Makefile"
    38623906
  • reporter/configure.ac

    ra296bb8 r584cbc  
    2828                               [Define if vsnprintf exists.])])
    2929
     30# check whether the compiler accepts -pipe
     31if test x$ac_cv_c_cpp = xgcc2 -o  x$ac_cv_c_cpp = xgcc3
     32then
     33  AC_MSG_CHECKING(whether compiler accepts -pipe)
     34  temp_cflags="${CFLAGS}"
     35  CFLAGS="${CFLAGS} -pipe"
     36  AC_CACHE_VAL(ac_cv_cxx_have_pipe,
     37  AC_TRY_COMPILE(,,ac_cv_cxx_have_pipe=yes,ac_cv_cxx_have_pipe=no))
     38  AC_MSG_RESULT(${ac_cv_cxx_have_pipe})
     39  CFLAGS=${temp_cflags}
     40else
     41  ac_cv_cxx_have_pipe="no"
     42fi
     43
     44if test "${ac_cv_cxx_have_pipe}" != yes; then
     45  PIPE=
     46else
     47  PIPE="-pipe"
     48fi
     49AC_SUBST(PIPE)
     50
    3051AC_CONFIG_FILES([Makefile])
    3152AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.