bug-automake
[Top][All Lists]
Advanced

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

automake-1.8.2 and newer fails on FreeBSD 5.x


From: Pav Lucistnik
Subject: automake-1.8.2 and newer fails on FreeBSD 5.x
Date: Fri, 04 Jun 2004 19:00:02 +0200

Heya,

rev. 1.2.2.3 of automake/m4/mkdirp.m4 introduced a problem for users of
FreeBSD 5.x, where invocation `mkdir -p --version .` returns error

$ mkdir -p --version . && echo true
mkdir: illegal option -- -
usage: mkdir [-pv] [-m mode] directory ...

On FreeBSD 4.x it returns 0

$ mkdir -p --version . && echo true
true

On Linux it returns 0

$ mkdir -p --version . && echo true
mkdir (coreutils) 5.2.0
Written by David MacKenzie.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
true


On FreeBSD 5.x
mkdir_p = $(mkinstalldirs), and mkinstalldirs = $(mkdir_p), this leads
to recursive variable and build failure.


What would be a good solution for systems where mkdir don't recognize
--version option?


-- 
Pav Lucistnik <address@hidden>
              <address@hidden>

Stupidity got us into this mess -- why can't it get us out?

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy


reply via email to

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