2 dnl Copyright 2005 Free Software Foundation, Inc.
4 dnl This file is part of GNU Radio
6 dnl GNU Radio is free software; you can redistribute it and/or modify
7 dnl it under the terms of the GNU General Public License as published by
8 dnl the Free Software Foundation; either version 2, or (at your option)
11 dnl GNU Radio is distributed in the hope that it will be useful,
12 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
13 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 dnl GNU General Public License for more details.
16 dnl You should have received a copy of the GNU General Public License
17 dnl along with GNU Radio; see the file COPYING. If not, write to
18 dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 dnl Boston, MA 02111-1307, USA.
24 # Checks to see if we're on a x86_64 machine, and if so, ensure
25 # that libdir ends in "64"
27 AC_DEFUN([GR_X86_64],[
28 AC_REQUIRE([AC_CANONICAL_HOST])
29 if test "$host_cpu" = "x86_64"; then
30 AC_MSG_CHECKING([libdir for lib64 suffix])
32 if test "$t" != 64 && test -d /lib64 && ! test -L /lib64; then
34 AC_MSG_RESULT([no. Setting libdir to $libdir])