diff options
author | Johnathan Corgan | 2012-04-07 19:32:10 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-04-07 19:32:10 -0700 |
commit | 9bef26c9271a7b9253075bda3c1fc7c8078c0343 (patch) | |
tree | a6c1329bb902c95c8ab9970f38ec5fb46d79167c /volk/config/gcc_version_workaround.m4 | |
parent | f621a52f779381cfe550b4278b83e701a747944c (diff) | |
parent | ef72dc714840dfb8fe3f918dda243f74453b6cc7 (diff) | |
download | gnuradio-9bef26c9271a7b9253075bda3c1fc7c8078c0343.tar.gz gnuradio-9bef26c9271a7b9253075bda3c1fc7c8078c0343.tar.bz2 gnuradio-9bef26c9271a7b9253075bda3c1fc7c8078c0343.zip |
Merge branch 'next'
Diffstat (limited to 'volk/config/gcc_version_workaround.m4')
-rwxr-xr-x | volk/config/gcc_version_workaround.m4 | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/volk/config/gcc_version_workaround.m4 b/volk/config/gcc_version_workaround.m4 deleted file mode 100755 index 3cd8a0cc7..000000000 --- a/volk/config/gcc_version_workaround.m4 +++ /dev/null @@ -1,53 +0,0 @@ -AC_DEFUN([LV_GCC_VERSION_WORKAROUND], -[ - case "${host_os}" in - *cygwin*) - ;; - *) - AC_REQUIRE([LF_CONFIGURE_CXX]) - - cxx_version=`$CXX --version` - - cxx_major_version=`echo $cxx_version | sed 's/[[^)]]*) \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'` - cxx_minor_version=`echo $cxx_version | sed 's/g++ [[^)]]*) \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2/'` - cxx_micro_version=`echo $cxx_version | sed 's/g++ [[^)]]*) \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3/'` - - if test ["$cxx_minor_version" -lt "3"] -o ["$cxx_major_version" -lt "4"]; then - cxx_proper_version="$cxx_major_version.$cxx_minor_version.$cxx_micro_version" - - - my_arch=`uname -m` - - if test "${my_arch}" = i686; then - my_arch="${my_arch} i586 i486 i386" - fi - if test "${my_arch}" = i586; then - my_arch = "${my_arch} i686 i386 i486" - fi - if test "${my_arch}" = i486; then - my_arch = "${my_arch} i686 i386 i586" - fi - if test "${my_arch}" = i386; then - my_arch = "${my_arch} i686 i586 i486" - fi - - for i in $my_arch - do - if test -n "`ls /usr/include/c++/$cxx_proper_version | grep $i`"; then - mystery_dir=`ls /usr/include/c++/$cxx_proper_version | grep $i` - echo `ls /usr/include/c++/$cxx_proper_version | grep $i` - fi - done - echo "${mystery_dir}" - - LV_CXXFLAGS="${LV_CXXFLAGS} -nostdinc++ -I/usr/include/c++/$cxx_proper_version -I/usr/include/c++/$cxx_proper_version/$mystery_dir" - - CXXFLAGS="${CXXFLAGS} -nostdinc++ -I/usr/include/c++/$cxx_proper_version -I/usr/include/c++/$cxx_proper_version/$mystery_dir" - - - - fi - - esac - - ])
\ No newline at end of file |