Package: haskell-cabal
Severity: normal

A bug report from: Niklas Broberg

I have a configure script that uses some custom --with-X flags. I now
want to access this script through Cabal. If I say

> ./configure --with-sessiondb-driver=PostgreSQL

the @DB_UPPER@ markers in my files get exchanged for "PostgreSQL". If
I instead write

> runhaskell Setup.hs configure --with-sesisondb-driver=PostgreSQL

the @DB_UPPER@ markers become "yes".

and when running w/ v4,

./setup configure --with-sessiondb-driver=PostgreSQL

causes output

sh configure... --with-sessiondb-driver

(without the =PostgreSQL)

This is with (defaultMainWithHooks defaultUserHooks), so I think the
error is in the parsing of the command-line args in the pre-configure
hook.

pax

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to