Multiple directories were repeating this configuration independently.
The directory jp3d is expected to be self-suficient so it still does
the configuration directly.
executables have on getopt.c, convert.c and index.c.
Some refactoring is going to be required in order to have a cleaner
configuration process and make it easier to maintain.