#! /usr/bin/env bash

# file      : build/c/generic/configure
# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
# license   : GNU GPL v2; see accompanying LICENSE file

# $1  out file
#
# bld_root     - build root
# project_name - project name
#

source $bld_root/dialog.bash

$echo
$echo
$echo "configuring '$project_name'"
$echo
$echo

$echo
$echo "Please enter the C compiler executable you would like to use."
$echo

c_generic=`read_path --command`

echo "c_generic := $c_generic" > $1
