Project

General

Profile

Actions

Bug #3073

closed

AC_CHECK_FILE on cross compile

Added by Donald Hoskins over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Generated configure.ac file doesn't check for cross compile flag before initiating a AC_CHECK_FILE

[[https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26046#c3]]

Errors out with:

checking for ./suricata-update/setup.py... configure: error: cannot check for file existence when cross compiling

configure.ac - Line 1467-1470

    if test "$enable_suricata_update" = "yes"; then
      AC_CHECK_FILE([$srcdir/suricata-update/setup.py], [
          have_suricata_update="yes"], [])
    fi

configure.ac - 2312 - 2315

            AC_CHECK_FILES([$srcdir/rust/vendor], [have_rust_vendor="yes"])
            if test "x$have_rust_vendor" = "xyes"; then
                  rust_vendor_comment="" 
            fi


Files

suricata.log (28.6 KB) suricata.log Donald Hoskins, 07/03/2019 07:38 PM
suricata.yaml (65.6 KB) suricata.yaml Donald Hoskins, 07/08/2019 09:06 PM
suricata-build-info.txt (3.53 KB) suricata-build-info.txt Donald Hoskins, 07/09/2019 08:57 PM

Related issues

Related to Bug #3281: Impossible to cross-compile due to AC_CHECK_FILEClosedFabrice FontaineActions
Actions

Also available in: Atom PDF