Huie-Ying Lee wrote: [...] >> >>> I changed the above code tp the code below and added the >>> -DSUN_SOLARIS flag to the Maekfile.am file. >>> [...] >>> >>> However, the resulting file still picked up the original line. It >>> seems that the generated Makefile file doesn't recognize the new >>> "SUN_SOLARIS" flag. Currently, I worked around this problem, but I >>> would like to know which file that I should update so that the >>> "-DSUN_SOLARIS" will be recognized. >>> >> >> Did you run the ./bootstrap after updating the Makefile.am? > > No, I didn't run the ./bootstrap script but I did run ".configure".
Not good enough. You modified the Makefile.am, that is used to generate the Makefile.in. by automake. Automake is run from bootstrap. configure assumes the Makefile.in is current, so you change was never added to Makefile.in so would not be in Makefile. > > The reason that I didn't run the "./bootstrap" script is because this > script will remove the config.sub file and the config.guress file. > However, these two config.* files are needed by the configure script. > Is this a bug in the bootstrap command ? No, part of bootstrap is to run automake. It should take care of copying in config.sub and config.guess > [...] > Huie-Ying > -- Douglas E. Engert <[EMAIL PROTECTED]> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel