I have a Linux programming question for beginners. Suppose I have a project that uses Autotools to compile and deploy, and I have data files that need to be installed in a place like /var/somethingor /usr/share/somethingetc. But in Autoconf I can change these installation paths. How should a program find these files? How does he know where they are actually installed (if anywhere, since the program should work, even if it is not installed, but starts from the place where it was created)?
source
share