Skip to content
  • Jose A. Lopes's avatar
    Fix conflicting path values from 'configure' · 3311e336
    Jose A. Lopes authored
    
    
    Because the Hs2Py constant generation infrastructure is transitional,
    there are two generated 'autoconf' modules, namely, 'src/AutoConf.hs'
    and 'lib/_autoconf.py'.  However, conflicting values were being
    generated for Haskell and Python concerning the variables
    'OS_SEARCH_PATH', 'ES_SEARCH_PATH', and 'IALLOCATOR_SEARCH_PATH'.
    This patch fixes this problem by placing these variables only on the
    Haskell side and generate Python constants holding the correct value.
    
    Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
    Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
    3311e336