[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building prog first

From: Russell Shaw
Subject: Re: Building prog first
Date: Sun, 21 Mar 2010 18:16:03 +1100
User-agent: Mozilla-Thunderbird (X11/20091109)

Ralf Wildenhues wrote:
Hello Russell,

* Russell Shaw wrote on Sun, Mar 21, 2010 at 07:06:00AM CET:
I want the "unimain" program built first, then use it to generate, which is then compiled and linked into

  bin_PROGRAMS = unimain
  unimain_SOURCES = unimain.c /usr/share/unicode/UnicodeData.txt
      ./unimain $< > $@

Then you need a dependency from on unimain: unimain$(EXEEXT) /usr/share/unicode/UnicodeData.txt
        ./unimain$(EXEEXT) $< > $@

Furthermore, please don't hard-code absolute paths like

in your makefiles.  Make them configurable by configure.  Maybe your
users don't have root rights on their system but have the file installed
below their home somewhere?

I did: AC_CHECK_FILE([/usr/share/unicode/UnicodeData.txt], [], [])

In "configure", i get:

  if test "x$ac_cv_file__usr_share_unicode_UnicodeData_txt" = x""yes; then :

Shouldn't this be:

  if test "x$ac_cv_file__usr_share_unicode_UnicodeData_txt" = "xyes"; then :

reply via email to

[Prev in Thread] Current Thread [Next in Thread]