]> git.ipfire.org Git - thirdparty/qemu.git/commit
configure: Use -ef to compare paths
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Mon, 11 Nov 2024 07:19:41 +0000 (16:19 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Nov 2024 12:44:54 +0000 (13:44 +0100)
commitebcf886d88e0fcae322d063b28846d20b23b5321
treeb3f8bb2ac38f3ba2a6a29f3a707a910cef232056
parent6607b77b94c353fbe21888d216fa97df9b859f15
configure: Use -ef to compare paths

configure checks if it is executed in the source directory by comparing
the literal paths, but there may be multiple representations of a
directory due to symbolic links. Use the -ef operator to tell if they
point to the same directory.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Link: https://lore.kernel.org/r/20241111-p-v1-1-001006c68b7e@daynix.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure