comparison src/configure.in @ 6860:809e3aa59c6f v7.4.750

patch 7.4.750 Problem: Cannot build with clang 3.5 on Cygwin with perl enabled. Solution: Strip "-fdebug-prefix-map" in configure. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Sun, 21 Jun 2015 13:41:08 +0200
parents c8ff693e9ebc
children 70b56e5eccb2
comparison
equal deleted inserted replaced
6859:a8a5c21436dd 6860:809e3aa59c6f
940 vi_cv_perl_xsubpp="$xsubpp_path" 940 vi_cv_perl_xsubpp="$xsubpp_path"
941 fi 941 fi
942 done 942 done
943 AC_SUBST(vi_cv_perl_xsubpp) 943 AC_SUBST(vi_cv_perl_xsubpp)
944 dnl Remove "-fno-something", it breaks using cproto. 944 dnl Remove "-fno-something", it breaks using cproto.
945 dnl Remove "-fdebug-prefix-map", it isn't supported by clang.
945 perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \ 946 perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
946 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[[^ ]]*//'` 947 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[[^ ]]*//' \
948 -e 's/-fdebug-prefix-map[[^ ]]*//g'`
947 dnl Remove "-lc", it breaks on FreeBSD when using "-pthread". 949 dnl Remove "-lc", it breaks on FreeBSD when using "-pthread".
948 perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \ 950 perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
949 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \ 951 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
950 -e 's/-bE:perl.exp//' -e 's/-lc //'` 952 -e 's/-bE:perl.exp//' -e 's/-lc //'`
951 dnl Don't add perl lib to $LIBS: if it's not in LD_LIBRARY_PATH 953 dnl Don't add perl lib to $LIBS: if it's not in LD_LIBRARY_PATH