I'm going to release a software package which needs polynomial fits to work, and I'm currently using the GNU Scientific Library (GSL) in my project. GSL is licensed under the GPL.
GSL has many modules that can do many operations, but I only need polynomial fits. Users have to compile the package themselves, and including the whole GSL would mean a high compilation time.
Does including only the GSL source code I need for my project comply with the GPL license?